| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | James Herbers <james(at)herbers(dot)ca> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: PostgreSQL default data location |
| Date: | 2005-06-10 16:03:19 |
| Message-ID: | 22967.1118419399@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
James Herbers <james(at)herbers(dot)ca> writes:
> It is a problem with the /etc/init.d/postgresql script.
> On line 31 the script grabs the defaults from the
> /etc/sysconfig/postgresql file which is where they should be. But then
> on line 41-42 it goes to set these defaults by using the file
> /etc/sysconfig/postgresql.d/${NAME} which would be the name of the
> script running, fine if the script is /etc/init.d/postgresql. In the
> case of going to run level 3 the file name is S85postgresql (a link to
> /etc/init.d/postgresql)! Well there is no file with defaults named
> /etc/sysconfig/postgresql.d/S85postgresql !!
You need to have a word with your Linux distro vendor, I think. The
init scripts shipped by PGDG and Red Hat, at least, have gotten this
right for a long time.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Lee Wu | 2005-06-10 16:22:47 | Re: select * and save into a text file failed |
| Previous Message | James Herbers | 2005-06-10 15:39:43 | Re: select * and save into a text file failed |