Re: [HACKERS] pid file for postmaster?

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [HACKERS] pid file for postmaster?
Дата
Msg-id 383D9021.7D2E2414@tm.ee
обсуждение исходный текст
Ответ на pid file for postmaster?  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: [HACKERS] pid file for postmaster?  (Michael Meskes <meskes@postgresql.org>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] pid file for postmaster?
Следующее
От: Michael Meskes
Дата:
Сообщение: [abhijitc@wipinfo.soft.net: A query...]