[ADMIN] moving postgresql.conf: pg_ctl can't find postmaster.pid anymore

2009-11-02 Thread Ludo Smissaert
Hi, The Postgresql configuration files can be kept elsewhere than the data directory, as is described in the section about "File Locations." (18.2 of as of 8.4)[1] The documentation here basically mentions two ways of doing this. First you can start Postgresql with the -D option to pg_ctl point

Re: [ADMIN] moving postgresql.conf: pg_ctl can't find postmaster.pid anymore

2009-11-02 Thread Tom Lane
Ludo Smissaert writes: > Both methods works fine on server startup, but the first method gives > problems when stopping the server with pg_ctl. Yeah, pg_ctl is far too stupid to cope with such things --- it expects that PGDATA points at the data directory. Short of teaching it to parse the confi

Re: [ADMIN] moving postgresql.conf: pg_ctl can't find postmaster.pid anymore

2009-11-02 Thread Ludo Smissaert
Tom Lane wrote: Ludo Smissaert writes: Both methods works fine on server startup, but the first method gives problems when stopping the server with pg_ctl. Yeah, pg_ctl is far too stupid to cope with such things --- it expects that PGDATA points at the data directory. Short of teaching it to