Re: postmaster.pid file auto-clean up?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postmaster.pid file auto-clean up?
Дата
Msg-id 5117.1345483866@sss.pgh.pa.us
обсуждение исходный текст
Ответ на postmaster.pid file auto-clean up?  (Sebastien Boisvert <sebastienboisvert@yahoo.com>)
Список pgsql-general
Sebastien Boisvert <sebastienboisvert@yahoo.com> writes:
> I vaguely remember reading in the release notes (around the time 9.x was released) something about it automatically
clearingout the postmaster.pid file if it was found to be stale/invalid when starting the the database server, however
Icannot find any reference to this anymore. 

It's always done that.

We occasionally see startup scripts that "helpfully" remove the .pid
file.  They are, without exception, wrong and dangerous.  The postmaster
is much more likely to get this right by itself.

            regards, tom lane


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

Предыдущее
От: Steven Schlansker
Дата:
Сообщение: Re: Ignore hash indices on replicas
Следующее
От: elliott
Дата:
Сообщение: Database Bloat