Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 39054F6332B for ; Thu, 19 Jul 2012 09:32:48 -0300 (ADT) Received: from mail-gh0-f174.google.com ([209.85.160.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SrpuK-0005RE-SD for pgsql-bugs@postgresql.org; Thu, 19 Jul 2012 12:32:47 +0000 Received: by ghrr11 with SMTP id r11so2680194ghr.19 for ; Thu, 19 Jul 2012 05:32:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=26Zb9rQmqf1ysYqDJYmCxJ4ZRIvcLa1EGzWg+bU37r8=; b=SEq8Gh8Q34nkJ6JydC6vmR07vSFzrszPR49mD2Nu4PoURgEvEkeQpHRpMzc0HncM2R FssYvqtJWubiJk1LWSNU9D7ogcnekvPkewRZdJDchMpihv5xBFrBuWPzecWgNKJYHiED bSRVDHqGXpxACoateiPdOFoG9zuZ8eTLNl2C6KIbwmrW0mpb+iSGOctJ8bWCWTRn/xsD 7KVllRkDB+72hxm8grucGb48Tu8Gt4rMh/AONR2WhTDFHvJJvCz8+xzvpRmp0419eHmz mzhKKVNIdn7RfvkT2rNKoBa467emNOprJ20sjigVFGrSx69ugq4IolOlxbzF3UaMu0Y/ b6zA== Received: by 10.66.77.7 with SMTP id o7mr3491217paw.37.1342701145208; Thu, 19 Jul 2012 05:32:25 -0700 (PDT) Received: from ayaki.localdomain (58-7-231-93.dyn.iinet.net.au. [58.7.231.93]) by mx.google.com with ESMTPS id pi7sm1715334pbb.56.2012.07.19.05.32.21 (version=SSLv3 cipher=OTHER); Thu, 19 Jul 2012 05:32:24 -0700 (PDT) Message-ID: <5007FE32.80804@ringerc.id.au> Date: Thu, 19 Jul 2012 20:31:46 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Tatsuo Ishii CC: exclusion@gmail.com, pgsql-general@postgresql.org, yi.codeplayer@gmail.com, pgsql-bugs@postgresql.org Subject: Re: main log encoding problem References: <5006D340.4000808@gmail.com> <20120719.081626.240539691760651172.t-ishii@sraoss.co.jp> <5007AB3D.3010501@gmail.com> <20120719.162426.57507866406108945.t-ishii@sraoss.co.jp> In-Reply-To: <20120719.162426.57507866406108945.t-ishii@sraoss.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQl6PFbMrPhz32xCQJeupvZrUoz/9+V9ZjTsD1bXbfIjU0ih5dlUnxKSWYSH8b00VxDzttYC X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/170 X-Sequence-Number: 33646 On 07/19/2012 03:24 PM, Tatsuo Ishii wrote: > BTW, I'm not stick with mule-internal encoding. What we need here is a > "super" encoding which could include any existing encodings without > information loss. For this purpose, I think we can even invent a new > encoding(maybe something like very first prposal of ISO/IEC > 10646?). However, using UTF-8 for this purpose seems to be just a > disaster to me. Good point re unified chars. That was always a bad idea, and that's just one of the issues it causes. I think these difficult encodings are where logging to dedicated file per-database is useful. I'm not convinced that a weird and uncommon encoding is the answer. I guess as an alternative for people for whom it's useful if it's low cost in terms of complexity/maintenance/etc... -- Craig Ringer