Re: Idle Error invalid byte sequence

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Randall Wilson <rwilson(at)earthcomber(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Idle Error invalid byte sequence
Date: 2008-09-18 22:39:51
Message-ID: 6182.1221777591@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Randall Wilson <rwilson(at)earthcomber(dot)com> writes:
> log_line_prefix = '[%t] %i'
> So, "idle" is just the "command tag", which probably means it's not
> associated with a command.

No, you missed my point: if an incoming command contains invalidly
encoded characters, the error about that will be thrown *before* the
command tag can be changed from "idle". I think you are looking in the
wrong place entirely --- the bad data is not in the database, it's
coming from a client.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2008-09-18 23:03:11 Re: type unknown?
Previous Message Carol Walter 2008-09-18 22:14:21 Re: type unknown?