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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Log crashed backend's query (activity string)
Дата
Msg-id 1724.1315426523@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Log crashed backend's query (activity string)  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [PATCH] Log crashed backend's query (activity string)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Wed, Sep 7, 2011 at 3:42 PM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
>> A mishandled encoding conversion could be problematic, so that needs to
>> be carefully considered (perhaps just shut off unconditionally).

> It's not really a problem for the postmaster if something just plain
> old fails.  Where we get into trouble is if it manages to (a) crash,
> (b) take an excessive amount of time to complete, or (c) screw up the
> postmaster state in some way we can't recover from.  But if any of
> those are an issue then, yeah, just shut it off.

Keep in mind that in the postmaster, elog(ERROR) *is* a crash.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] Log crashed backend's query (activity string)
Следующее
От: daveg
Дата:
Сообщение: Re: FATAL: lock AccessShareLock on object 0/1260/0 is already held