Re: BUG #2432: PID file not created if $PGDATA is different from Datadir

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Thomas Reiss" <thomas(dot)reiss(at)interieur(dot)gouv(dot)fr>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2432: PID file not created if $PGDATA is different from Datadir
Date: 2006-05-11 17:15:30
Message-ID: 14771.1147367730@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Thomas Reiss" <thomas(dot)reiss(at)interieur(dot)gouv(dot)fr> writes:
> The following bug has been logged online:
> Description: PID file not created if $PGDATA is different from
> Datadir

Yes it is, but it's in the data_directory. In general the postmaster
need not (and probably should not) have write permission where the
configure files are, so we're not going to be changing this.

> When I tried to shutdown PG with a simple pg_ctl stop, the tool claimed
> about a missing postmaster.pid file. pg_ctl status didn't worked either.

pg_ctl hasn't been taught to parse the config file to find out where
data_directory is, so it really doesn't work with this layout yet.
Sorry.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Richard Yen 2006-05-11 18:47:24 SIGSEGV happens over once a day
Previous Message Casey Duncan 2006-05-11 17:13:08 Re: BUG #2428: ERROR: out of memory, running INSERT SELECT statement