pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James Bellinger <jfb@zer7.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #5276: pg_ctl reads data directory on -D instead of postgresql.conf directoryh
Date: Thu, 14 Jan 2010 02:01:54 GMT
Message-ID: <201001140201.o0E21sr7075150@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      5276
Logged by:          James Bellinger
Email address:      jfb@zer7.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.



view thread (10+ messages)  latest in thread

Message-ID: <201001140201.o0E21sr7075150@wwwmaster.postgresql.org>
Permalink:  ../201001140201.o0E21sr7075150@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201001140201.o0E21sr7075150@wwwmaster.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: jfb@zer7.com
  Subject: Re: BUG #5276: pg_ctl reads data directory on -D instead of postgresql.conf directoryh
  In-Reply-To: <201001140201.o0E21sr7075150@wwwmaster.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox