Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2B61C64FCEC for ; Thu, 18 Sep 2008 18:52:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 34558-01 for ; Thu, 18 Sep 2008 18:51:54 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from cerga.lunarpages.com (cerga.lunarpages.com [209.200.229.150]) by postgresql.org (Postfix) with ESMTP id 12B4B64FCCF for ; Thu, 18 Sep 2008 18:49:35 -0300 (ADT) Received: from c-24-14-55-166.hsd1.il.comcast.net ([24.14.55.166] helo=[192.168.107.89]) by cerga.lunarpages.com with esmtpa (Exim 4.69) (envelope-from ) id 1KgRNU-0000mm-N2; Thu, 18 Sep 2008 14:49:33 -0700 Message-ID: <48D2CCF4.9090007@earthcomber.com> Date: Thu, 18 Sep 2008 16:49:40 -0500 From: Randall Wilson User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: Tom Lane CC: "pgsql-admin@postgresql.org" Subject: Re: Idle Error invalid byte sequence References: <48D273D8.7010603@earthcomber.com> <23674.1221761835@sss.pgh.pa.us> <48D2B5B0.9020708@earthcomber.com> <2079.1221771450@sss.pgh.pa.us> In-Reply-To: <2079.1221771450@sss.pgh.pa.us> Content-Type: multipart/mixed; boundary="------------020207070705030103060800" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cerga.lunarpages.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - earthcomber.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/207 X-Sequence-Number: 30300 This is a multi-part message in MIME format. --------------020207070705030103060800 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit log_line_prefix = '[%t] %i' So, "idle" is just the "command tag", which probably means it's not associated with a command. Unless you think grepping my plain text backup is a waste of time, you've answered all my questions (Thanks) and I don't need a reply. Thanks again, Randy Wilson Tom Lane wrote: > Randall Wilson writes: > >> Yes, the encoding was changed from SQL_ASCII to UTF-8. Does the fact >> that it's an "Idle" error conform your theory that some client is >> causing the error? I thought the "Idle" error was caused by errors found >> during background processes, like vacuums. >> > > You'd have to tell us what your log_line_prefix is before we could > interpret that, but yeah, an encoding error in an incoming query string > would be reported before the backend could even consider going non-idle. > > A SQL_ASCII database would have accepted any data whatsoever. If you > want to change to something where you actually know the encoding, that's > fine, but realize that you're going to have to make your clients be > honest about what encoding they're using, too. > > regards, tom lane > > --------------020207070705030103060800 Content-Type: text/x-vcard; charset=utf-8; name="rwilson.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="rwilson.vcf" begin:vcard fn:Randall Wilson n:Wilson;Randall org:Earthcomber, LLC;Development adr:Suite 114;;7777 Lake St.;River Forest;IL;60305;USA email;internet:rwilson@earthcomber.com title:Senior Software Engineer tel;work:708-366-1611 tel;cell:773-620-3042 x-mozilla-html:FALSE url:http://www.earthcomber.com version:2.1 end:vcard --------------020207070705030103060800--