Re: Re: Sure enough, the lock file is gone

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: Re: Sure enough, the lock file is gone
Дата
Msg-id
Pine.LNX.4.30.0101272055020.1492-100000@peter.localdomain
Ответ на
Список
Дерево обсуждения
Sure enough, the lock file is gone Peter Eisentraut <peter_e@gmx.net>
Re: Sure enough, the lock file is gone Alfred Perlstein <bright@wintelcom.net>
Re: Sure enough, the lock file is gone Bruce Momjian <pgman@candle.pha.pa.us>
Re: Sure enough, the lock file is gone "Ross J. Reedstrom" <reedstrm@rice.edu>
Re: Sure enough, the lock file is gone Jan Wieck <janwieck@Yahoo.com>
Re: Sure enough, the lock file is gone Peter Eisentraut <peter_e@gmx.net>
Re: Sure enough, the lock file is gone Jan Wieck <janwieck@Yahoo.com>
Re: Sure enough, the lock file is gone Bruce Guenter <bruceg@em.ca>
Re: Sure enough, the lock file is gone Bruce Momjian <pgman@candle.pha.pa.us>
Re: Sure enough, the lock file is gone Peter Eisentraut <peter_e@gmx.net>
Re: Sure enough, the lock file is gone GB Clark II <gclarkii@geektech.com>
Re: Sure enough, the lock file is gone Tom Lane <tgl@sss.pgh.pa.us>
Re: Sure enough, the lock file is gone Tom Lane <tgl@sss.pgh.pa.us>
Re: Sure enough, the lock file is gone Bruce Momjian <pgman@candle.pha.pa.us>
Re: Sure enough, the lock file is gone "Ross J. Reedstrom" <reedstrm@rice.edu>
Re: Sure enough, the lock file is gone Florent Guillaume <efgeor@noos.fr>
Re: Re: Sure enough, the lock file is gone Alessio Bragadini <alessio@sevenseas.org>
Lamar Owen writes:

> I understand why the socket needs to be in /tmp, but why the lockfile?

The lock file protects the Unix domain socket.  Consequently, the name of
the lock file needs to be derivable from the name of the socket file, and
vice versa.  Also, the name of the socket file must not vary with other
parameters such as installation layout.

> Lock file cleanup should be the responsibility of the script that starts
> postmaster

The postmaster does that itself.  That's why the pid is in there.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


В списке pgsql-hackers по дате отправления
От: Lamar Owen
Дата:
От: Lamar Owen
Дата:
FAQ