Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 9FAFCB5DC24 for ; Fri, 16 Sep 2011 21:18:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 90137-02 for ; Sat, 17 Sep 2011 00:18:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174]) by mail.postgresql.org (Postfix) with ESMTP id 51A40B5DC13 for ; Fri, 16 Sep 2011 21:18:35 -0300 (ADT) Received: by qyk30 with SMTP id 30so986264qyk.19 for ; Fri, 16 Sep 2011 17:18:35 -0700 (PDT) Received: by 10.52.38.200 with SMTP id i8mr11114vdk.355.1316218715655; Fri, 16 Sep 2011 17:18:35 -0700 (PDT) Received: from ayaki.localdomain (124-148-242-247.dyn.iinet.net.au. [124.148.242.247]) by mx.google.com with ESMTPS id bd20sm8699870vdc.8.2011.09.16.17.18.33 (version=SSLv3 cipher=OTHER); Fri, 16 Sep 2011 17:18:35 -0700 (PDT) Message-ID: <4E73E757.8050006@ringerc.id.au> Date: Sat, 17 Sep 2011 08:18:31 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 MIME-Version: 1.0 To: Carlo Curatolo CC: pgsql-bugs@postgresql.org Subject: Re: BUG #5800: "corrupted" error messages (encoding problem ?) References: <201012211547.oBLFl3qC019008@wwwmaster.postgresql.org> <1303986662099-4346180.post@n5.nabble.com> <1316207412940-4812062.post@n5.nabble.com> In-Reply-To: <1316207412940-4812062.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201109/106 X-Sequence-Number: 31123 On 09/17/2011 05:10 AM, Carlo Curatolo wrote: > Just tried with PG 9.1...same problem... Yep. There appears to be no interest in fixing this bug. All the alternatives I proposed were rejected, and there doesn't seem to be any concern about the issue. I'd be willing to have a go at the issue if there some indication that a patch might be considered, but if I don't have an approach that might even be considered for inclusion there isn't much point. There are several sources of differently-encoded text that may appear in logs. These are often set to the same encoding, but need not necessarily be. The only valid fixes are to log them to different files (with some way to identify which encoding is used) or convert them all to a single standard encoding - probably UTF-8 - for logging. When syslog is used, encoding conversion is the only valid answer. -- Craig Ringer