Re: "Bogus data in lock file" shouldn't be FATAL?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: "Bogus data in lock file" shouldn't be FATAL?
Дата
Msg-id 1281973704-sup-2598@alvh.no-ip.org
обсуждение исходный текст
Ответ на "Bogus data in lock file" shouldn't be FATAL?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Excerpts from Tom Lane's message of lun ago 16 11:18:32 -0400 2010:

> We could perhaps address that risk another way: after having written
> postmaster.pid, try to read it back to verify that it contains what we
> wrote, and abort if not.  Then, if we can't read it during startup,
> it's okay to assume there is no conflicting postmaster.

Makes sense.

BTW some past evidence:
http://archives.postgresql.org/message-id/e3e180dc0905070719q58136caai23fbb777fd3c0df7@mail.gmail.com

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Git migration timeline
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: "Bogus data in lock file" shouldn't be FATAL?