Re: BUG #4281: some types of errors do not log statements

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4281: some types of errors do not log statements
Дата
Msg-id 9963.1219769429@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #4281: some types of errors do not log statements  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-bugs
Gregory Stark <stark@enterprisedb.com> writes:
> "Peter Eisentraut" <peter_e@gmx.net> writes:
>> Well, the problem is mainly that there is no query, because the bytes arriving
>> are garbage.  A human observer could make sense of it in some cases, but not
>> a computer in the general case.

> How is that different from any other syntax error?

It's not a syntax error, it's an encoding error, and we daren't try to
spit the data back out for fear of getting more encoding errors and
ending up in an infinite recursion in elog.c.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Behavior change in PG8.3?
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: non-deterministic error related to MIN/MAX optimization