Re: What happens if the socket lock file is deleted?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What happens if the socket lock file is deleted?
Дата
Msg-id 1266796.1769719081@sss.pgh.pa.us
обсуждение исходный текст
Ответ на What happens if the socket lock file is deleted?  ("stevej@stevej.name" <stevej@stevej.name>)
Список pgsql-general
"stevej@stevej.name" <stevej@stevej.name> writes:
> Does PostgreSQL periodically touch the lock file so it won’t be
> deleted?

Yes.

> Alternatively, does PostgreSQL simply re-create the lock file if it
> has been deleted?

No.  The risk you take in that situation is that if you try to start
another postmaster, it might not realize the socket is already in use.

            regards, tom lane



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