Re: The function of lock file named ".s.PGSQL..lock" on Linux?

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: The function of lock file named ".s.PGSQL..lock" on Linux?
Дата
Msg-id 4C61F3FF.1080303@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: The function of lock file named ".s.PGSQL..lock" on Linux?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: The function of lock file named ".s.PGSQL..lock" on Linux?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Tom Lane wrote:
> We can't portably lock the socket file itself, so we make a separate
> ordinary file for locking purposes.
>

It looks to me like the fact that the .lock file is created is only
documented in src/backend/utils/init/miscinit.c , and even there the
reason why (what you wrote above) isn't mentioned.  Seems like noting
this file is created in the unix_socket_directory entry of the docs, and
the rationale for why in the source code, would make a useful
improvement.  Anybody want to write a little documentation patch?

--
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us


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

Предыдущее
От: Kasia Tuszynska
Дата:
Сообщение: Re: postgres function does not handle PUBLIC - expected?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: The function of lock file named ".s.PGSQL..lock" on Linux?