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

From Tom Lane
Subject Re: Unhelpful initdb error message
Date
Msg-id 1878.1331055780@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unhelpful initdb error message  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: Unhelpful initdb error message
List pgsql-general
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?

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

            regards, tom lane

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Unhelpful initdb error message
Next
From: Adrian Klaver
Date:
Subject: Re: Unhelpful initdb error message