pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Randall Wilson <rwilson@earthcomber.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Idle Error invalid byte sequence
Date: Thu, 18 Sep 2008 18:39:51 -0400
Message-ID: <6182.1221777591@sss.pgh.pa.us> (raw)
In-Reply-To: <48D2CCF4.9090007@earthcomber.com>
References: <48D273D8.7010603@earthcomber.com>
	<23674.1221761835@sss.pgh.pa.us>
	<48D2B5B0.9020708@earthcomber.com>
	<2079.1221771450@sss.pgh.pa.us>
	<48D2CCF4.9090007@earthcomber.com>

Randall Wilson <rwilson@earthcomber.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



view thread (6+ messages)

Message-ID: <6182.1221777591@sss.pgh.pa.us>
Permalink:  ../6182.1221777591@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6182.1221777591@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rwilson@earthcomber.com
  Subject: Re: Idle Error invalid byte sequence
  In-Reply-To: <6182.1221777591@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox