Re: [HACKERS] Fix PID file location?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)surnet(dot)cl>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, josh(at)agliodbs(dot)com, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Fix PID file location?
Date: 2005-05-28 00:40:30
Message-ID: 1988.1117240830@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Alvaro Herrera <alvherre(at)surnet(dot)cl> writes:
> On Fri, May 27, 2005 at 07:40:17PM -0400, Tom Lane wrote:
>> I really think we have only two choices: teach pg_ctl how to dig the
>> data directory location out of postgresql.conf,

> I don't think this is extremely hard, isn't it?

One small problem is that I think the current definition allows the data
directory to be specified relative to the original postmaster working
directory. Of course, that's not different from "-D ." on the
postmaster command line, so possibly the answer is "if you want to use
pg_ctl, don't do that".

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-05-28 02:21:19 Re: [HACKERS] Fix PID file location?
Previous Message Alvaro Herrera 2005-05-28 00:34:07 Re: [HACKERS] Fix PID file location?

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-05-28 00:45:47 Re: psql backslash consistency
Previous Message Alvaro Herrera 2005-05-28 00:34:07 Re: [HACKERS] Fix PID file location?