Re: Unhelpful initdb error message - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Unhelpful initdb error message
Date
Msg-id 201203060948.47678.adrian.klaver@gmail.com
Whole thread Raw
In response to Re: Unhelpful initdb error message  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Tuesday, March 06, 2012 9:43:00 am Tom Lane wrote:
> Adrian Klaver <adrian.klaver@gmail.com> writes:
> > The postmaster.pid is located outside the data directory, but points back
> > to the data directory.   Not sure where Debian, though at a guess
> > somewhere in /var. Any way search for postmaster.pid.
>
> Really?  That seems like an extremely dangerous/stupid/unnecessary hack
> on the part of the Debian packagers.  What's keeping users from
> accidentally starting two postmasters in the same data directory, if
> they can put their pidfiles in (different) other places?

No, that was a mistake on my part. It is in the $DATA directory.

>
> (This seems unrelated to Thom's issue, but it's still worrisome.)
>
>             regards, tom lane

--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Unhelpful initdb error message
Next
From: Thom Brown
Date:
Subject: Re: Unhelpful initdb error message