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

Поиск
Список
Период
Сортировка
От xsun
Тема The function of lock file named ".s.PGSQL..lock" on Linux?
Дата
Msg-id i399mq$28vn$1@news.hub.org
обсуждение исходный текст
Ответы Re: The function of lock file named ".s.PGSQL..lock" on Linux?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
When the psql server is started under Linux platform, in /tmp directory
there is a lock files named ".s.PGSQL.<port>.lock". So I want to know what
is the function of this lock file? And does the server work well without
this lock file?

Additionally, I know that the file ".s.PGSQL.<port>" is used as the unix
domain socket file. But the file ".s.PGSQL.<port>.lock" makes me still
pazzled. Could you explain that? Thanks.


Best wishes.



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

Предыдущее
От: "xsun"
Дата:
Сообщение: The function of lock file named ".s.PGSQL..lock" on Linux?
Следующее
От: 노현석
Дата:
Сообщение: how can we resolving locking state....