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

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема Re: [PATCH] Log crashed backend's query (activity string)
Дата
Msg-id CABRT9RCaMs_VeCB0Ljvpib=0u9VZVijcOYhwzKqFo-_fgifztw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Log crashed backend's query (activity string)  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: [PATCH] Log crashed backend's query (activity string)
Список pgsql-hackers
On Wed, Sep 7, 2011 at 22:42, 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).

Are you referring to log file encoding or something else? The log file
is already potentially mixed-encoding, as different databases may have
different encodings and backends just dump bytes to it in their
current encoding.

pg_verify_mbstr() could potentially be used with noError=true if we
can figure out the backend's current encoding, but that indeed sounds
like something to avoid.

Regards,
Marti


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: FATAL: lock AccessShareLock on object 0/1260/0 is already held
Следующее
От: Tom Lane
Дата:
Сообщение: Re: timezone GUC