Skip site navigation (1) Skip section navigation (2)

BUG #5276: pg_ctl reads data directory on -D instead of postgresql.conf directoryh

From: "James Bellinger" <jfb(at)zer7(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5276: pg_ctl reads data directory on -D instead of postgresql.conf directoryh
Date: 2010-01-14 02:01:54
Message-ID: 201001140201.o0E21sr7075150@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      5276
Logged by:          James Bellinger
Email address:      jfb(at)zer7(dot)com
PostgreSQL version: 8.4.2
Operating system:   Ubuntu 9.10
Description:        pg_ctl reads data directory on -D instead of
postgresql.conf directoryh
Details: 

While on startup, pg_ctl (correctly) looks in the directory specified by -D
for postgresql.conf, and then uses that to determine the data directory,
when stopping it actually expects the directories to be the same and in
doing so looks for the PID file in the given directory. As a result, on
start one needs to use the .conf directory with -D, and on stop the data
directory.

It's not a big deal, but for consistency's sake it ought to read the .conf
file to get the data directory on stop.

Responses

pgsql-bugs by date

Next:From: Justin PittsDate: 2010-01-14 03:22:30
Subject: Re: BUG #5269: postgres backend terminates with SIGSEGV
Previous:From: Charles O'FarrellDate: 2010-01-13 22:20:16
Subject: Re: Substring auto trim

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group