Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

Next:From: Tom LaneDate: 2008-09-18 23:03:11
Subject: Re: type unknown?
Previous:From: Carol WalterDate: 2008-09-18 22:14:21
Subject: Re: type unknown?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group