Re: [HACKERS] pid file for postmaster?

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Michael Meskes <meskes(at)postgreSQL(dot)org>
Cc: pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] pid file for postmaster?
Date: 1999-11-25 19:38:09
Message-ID: 383D9021.7D2E2414@tm.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Meskes wrote:
>
> On Wed, Nov 24, 1999 at 01:33:37AM -0500, Tom Lane wrote:
> > > it. I think the pid file could be placed under $PGDATA. Opinions?
> > ...
> > $PGDATA seems like the right place to put the file, since we can only
> > have one active postmaster at a time in a database directory.
>
> Ehem, I think the correct place would be /var/run. At least that's what the
> filesystem standard says IIRC.

But that forces us to distinguish between several running backends, with the
main aim of _not_ allowing two distinct backends to be run from the same
$PGDATA.

we could of course start naming them like /var/run/pgsql.pid.for.var.lib.pgsql

------------
Hannu

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 1999-11-25 20:05:46 Re: [HACKERS] pid file for postmaster?
Previous Message Michael Meskes 1999-11-25 19:25:21 [abhijitc@wipinfo.soft.net: A query...]