Re: [HACKERS] Fix PID file location?

2005-05-13 Thread Josh Berkus
FOlks, > The problem seems to be that pg_ctl expects the PID file to be in $PGDATA, > but the file actually gets written by the postmaster to the actual data > directory. You can work around this by setting "external_pid_file", but > this then prevents you from using external_pid_file for another

[HACKERS] Fix PID file location?

2005-05-07 Thread Josh Berkus
Hey, folks, I've noticed a problem with alternate PGDATA locations. Here's how to reproduce: On 8.0.2 on RHAS4: 1) Initdb a directory (on my system, /pgdata/pgdata) 2) Move the .conf files to an alternate location ( /etc/pgsql/) 3) Set $PGDATA to the alternate location ( /etc/pgsql ) 4) Edit p