This bug contains a collection of init scripts and conf files that address some existing bugs and enhancement requests. Related bugs: #310619 #310045 #294462 (Comment 1) #255004 #284094 #274568 #237315 #189854 Attachments follow. Reproducible: Always Steps to Reproduce:
Created attachment 225025 [details] Update conf for 7.4
Created attachment 225029 [details] Update init for 7.4
Created attachment 225031 [details] Updated conf for 8.0
Created attachment 225033 [details] Updated init for 8.0
Created attachment 225035 [details] Updated conf for 8.1
Created attachment 225037 [details] Updated init for 8.1
Created attachment 225039 [details] Updated conf for 8.2
Created attachment 225041 [details] Updated init for 8.2
Created attachment 225043 [details] Updated conf for 8.3
Created attachment 225045 [details] Updated init for 8.3
Created attachment 225047 [details] Updated conf for 8.4
Created attachment 225049 [details] Updated init for 8.4
Created attachment 225051 [details] Updated conf for 9.0
Created attachment 225053 [details] Updated init for 9.0
Diffs instead of entire files would have been nice. Could be a single patch file. ;-)
(In reply to comment #15) > Diffs instead of entire files would have been nice. Could be a single patch > file. ;-) > A diff would have been twice the size of the entire file. For the confs or the inits. So, other than how I've submitted the files, what do you have to say about the content of the confs and inits?
> So, other than how I've submitted the files, what do you have to say about the > content of the confs and inits? > I was stuck with a non-restarting situation (loading from boot always worked). So I tried these files. The one thing I've observed is that they seem to be printing log statements to my terminal. Not sure what that's about. 8.4, FWIW. Thanks for working on this.
(In reply to comment #17) > The one thing I've observed is that they seem to be printing log statements to > my terminal. Not sure what that's about. 8.4, FWIW. > > Thanks for working on this. > What log statements? The only statements that should be sent to the terminal are error messages from pg_ctl.
Whoops! I was a bit overzealous in my cleanup of the init scripts. This line needs to be at the top: opts="${opts} reload"
(In reply to comment #18) > (In reply to comment #17) > > The one thing I've observed is that they seem to be printing log statements to > > my terminal. Not sure what that's about. 8.4, FWIW. > > > > Thanks for working on this. > > > > What log statements? The only statements that should be sent to the terminal > are error messages from pg_ctl. > I finally came upon the log statement you were talking about. It's dependent upon your postgresql.conf configuration. If it's configured to log to stderr, which is the default, you're going to see the statements on the screen, if you configure it to log through syslog, you won't see the statements and they'll be sent to syslog instead.
Done.