Re: [PATCH] Log crashed backend's query (activity string)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Log crashed backend's query (activity string)
Дата
Msg-id 22764.1315344891@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [PATCH] Log crashed backend's query (activity string)  (Marti Raudsepp <marti@juffo.org>)
Ответы Re: [PATCH] Log crashed backend's query (activity string)
Re: [PATCH] Log crashed backend's query (activity string)
Список pgsql-hackers
Marti Raudsepp <marti@juffo.org> writes:
> This patch adds the backend's current running query to the "backend
> crash" message.

Sorry, this patch is entirely unacceptable.  We cannot have the
postmaster's functioning depending on the contents of shared memory
still being valid ... most especially not when we know that somebody
just crashed, and could have corrupted the shared memory in arbitrary
ways.  No, I don't think your attempts to validate the data are
adequate, nor do I believe they can be made adequate.  And I doubt
that the goal is worth taking risks for.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgpass comment suggestion
Следующее
От: Robert Haas
Дата:
Сообщение: Re: timezone GUC