Re: Missing pg_control crashes postmaster

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Missing pg_control crashes postmaster
Дата
Msg-id CAKFQuwaddW5vijF9rNhuvwEub08QnEzWft8hKbA=4jeKCq=F8w@mail.gmail.com
обсуждение исходный текст
Ответ на Missing pg_control crashes postmaster  (Brian Faherty <anothergenericuser@gmail.com>)
Список pgsql-hackers
On Mon, Jul 23, 2018 at 12:31 PM, Brian Faherty <anothergenericuser@gmail.com> wrote:
There does not really seem to be a need for this behavior as all the
information postgres needs is in memory at this point. I propose with
a patch to just recreate pg_control on updates if it does not exist.

Or at minimum create said file with a different name in PGDATA so an admin can rename it should they wish to accept the in memory version as being a valid replacement for whatever ended up happening to the original.

Even if it can be safely rebuilt having pg_control removed out from under a running server seems like something that shouldn't happen and the server is in its rights to panic if it does.

David J.

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

Предыдущее
От: Brian Faherty
Дата:
Сообщение: Missing pg_control crashes postmaster
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Missing pg_control crashes postmaster