Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311047 - New init scripts and conf files for dev-db/postgresql-server
Summary: New init scripts and conf files for dev-db/postgresql-server
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-23 23:49 UTC by Aaron W. Swenson
Modified: 2010-06-04 14:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Update conf for 7.4 (postgresql.conf-7.4,1.62 KB, text/plain)
2010-03-23 23:51 UTC, Aaron W. Swenson
Details
Update init for 7.4 (postgresql.init-7.4,3.55 KB, text/plain)
2010-03-23 23:52 UTC, Aaron W. Swenson
Details
Updated conf for 8.0 (postgresql.conf-8.0,1.62 KB, text/plain)
2010-03-23 23:52 UTC, Aaron W. Swenson
Details
Updated init for 8.0 (postgresql.init-8.0,3.55 KB, text/plain)
2010-03-23 23:53 UTC, Aaron W. Swenson
Details
Updated conf for 8.1 (postgresql.conf-8.1,1.62 KB, text/plain)
2010-03-23 23:53 UTC, Aaron W. Swenson
Details
Updated init for 8.1 (postgresql.init-8.1,3.55 KB, text/plain)
2010-03-23 23:54 UTC, Aaron W. Swenson
Details
Updated conf for 8.2 (postgresql.conf-8.2,1.62 KB, text/plain)
2010-03-23 23:55 UTC, Aaron W. Swenson
Details
Updated init for 8.2 (postgresql.init-8.2,3.55 KB, text/plain)
2010-03-23 23:55 UTC, Aaron W. Swenson
Details
Updated conf for 8.3 (postgresql.conf-8.3,1.80 KB, text/plain)
2010-03-23 23:56 UTC, Aaron W. Swenson
Details
Updated init for 8.3 (postgresql.init-8.3,3.69 KB, text/plain)
2010-03-23 23:56 UTC, Aaron W. Swenson
Details
Updated conf for 8.4 (postgresql.conf-8.4,1.80 KB, text/plain)
2010-03-23 23:57 UTC, Aaron W. Swenson
Details
Updated init for 8.4 (postgresql.init-8.4,3.69 KB, text/plain)
2010-03-23 23:57 UTC, Aaron W. Swenson
Details
Updated conf for 9.0 (postgresql.conf-9.0,1.80 KB, text/plain)
2010-03-23 23:58 UTC, Aaron W. Swenson
Details
Updated init for 9.0 (postgresql.init-9.0,3.69 KB, text/plain)
2010-03-23 23:58 UTC, Aaron W. Swenson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron W. Swenson gentoo-dev 2010-03-23 23:49:43 UTC
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:
Comment 1 Aaron W. Swenson gentoo-dev 2010-03-23 23:51:25 UTC
Created attachment 225025 [details]
Update conf for 7.4
Comment 2 Aaron W. Swenson gentoo-dev 2010-03-23 23:52:12 UTC
Created attachment 225029 [details]
Update init for 7.4
Comment 3 Aaron W. Swenson gentoo-dev 2010-03-23 23:52:45 UTC
Created attachment 225031 [details]
Updated conf for 8.0
Comment 4 Aaron W. Swenson gentoo-dev 2010-03-23 23:53:28 UTC
Created attachment 225033 [details]
Updated init for 8.0
Comment 5 Aaron W. Swenson gentoo-dev 2010-03-23 23:53:58 UTC
Created attachment 225035 [details]
Updated conf for 8.1
Comment 6 Aaron W. Swenson gentoo-dev 2010-03-23 23:54:31 UTC
Created attachment 225037 [details]
Updated init for 8.1
Comment 7 Aaron W. Swenson gentoo-dev 2010-03-23 23:55:04 UTC
Created attachment 225039 [details]
Updated conf for 8.2
Comment 8 Aaron W. Swenson gentoo-dev 2010-03-23 23:55:36 UTC
Created attachment 225041 [details]
Updated init for 8.2
Comment 9 Aaron W. Swenson gentoo-dev 2010-03-23 23:56:20 UTC
Created attachment 225043 [details]
Updated conf for 8.3
Comment 10 Aaron W. Swenson gentoo-dev 2010-03-23 23:56:47 UTC
Created attachment 225045 [details]
Updated init for 8.3
Comment 11 Aaron W. Swenson gentoo-dev 2010-03-23 23:57:21 UTC
Created attachment 225047 [details]
Updated conf for 8.4
Comment 12 Aaron W. Swenson gentoo-dev 2010-03-23 23:57:53 UTC
Created attachment 225049 [details]
Updated init for 8.4
Comment 13 Aaron W. Swenson gentoo-dev 2010-03-23 23:58:29 UTC
Created attachment 225051 [details]
Updated conf for 9.0
Comment 14 Aaron W. Swenson gentoo-dev 2010-03-23 23:58:59 UTC
Created attachment 225053 [details]
Updated init for 9.0
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2010-03-24 07:08:36 UTC
Diffs instead of entire files would have been nice. Could be a single patch file. ;-)
Comment 16 Aaron W. Swenson gentoo-dev 2010-03-24 13:32:36 UTC
(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?
Comment 17 michael higgins 2010-03-29 06:26:26 UTC
> 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.
Comment 18 Aaron W. Swenson gentoo-dev 2010-04-09 11:19:37 UTC
(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.
Comment 19 Aaron W. Swenson gentoo-dev 2010-04-18 20:16:59 UTC
Whoops! I was a bit overzealous in my cleanup of the init scripts.

This line needs to be at the top:

opts="${opts} reload"
Comment 20 Aaron W. Swenson gentoo-dev 2010-05-07 11:49:23 UTC
(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.
Comment 21 Patrick Lauer gentoo-dev 2010-06-04 14:22:19 UTC
Done.