Re: Unhelpful initdb error message

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org, Thom Brown <thom(at)linux(dot)com>
Subject: Re: Unhelpful initdb error message
Date: 2012-03-06 17:48:47
Message-ID: 201203060948.47678.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday, March 06, 2012 9:43:00 am Tom Lane wrote:
> Adrian Klaver <adrian(dot)klaver(at)gmail(dot)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(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2012-03-06 17:48:51 Re: Unhelpful initdb error message
Previous Message Tom Lane 2012-03-06 17:46:31 Re: Unhelpful initdb error message