Re: BUG #4281: some types of errors do not log statements - Mailing list pgsql-bugs

From Gregory Stark
Subject Re: BUG #4281: some types of errors do not log statements
Date
Msg-id 871w0bd9lq.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: BUG #4281: some types of errors do not log statements  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: BUG #4281: some types of errors do not log statements
List pgsql-bugs
"Peter Eisentraut" <peter_e@gmx.net> writes:

> Thomas H. wrote:
>> maybe its by design (to not insert badly encoded characters into the
>> utf8 encoded logs)? nevertheless to debug those faulty programm/codes,
>> it would help to see what query provokes the error...
>
> 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?

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Get trained by Bruce Momjian - ask me about EnterpriseDB's PostgreSQL training!

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Aborted VACUUM FULL -> crash + corruption (xlog non-existent)
Next
From: Tom Lane
Date:
Subject: Re: Behavior change in PG8.3?