Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 82A4619E05B9 for ; Wed, 18 Jul 2012 22:43:03 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Srfle-0000rw-Sf for pgsql-bugs@postgresql.org; Thu, 19 Jul 2012 01:43:03 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q6J1gkL7007296; Wed, 18 Jul 2012 21:42:46 -0400 (EDT) From: Tom Lane To: Tatsuo Ishii cc: exclusion@gmail.com, pgsql-general@postgresql.org, ringerc@ringerc.id.au, yi.codeplayer@gmail.com, pgsql-bugs@postgresql.org Subject: Re: main log encoding problem In-reply-to: <20120719.081626.240539691760651172.t-ishii@sraoss.co.jp> References: <1332187409-sup-4631@alvh.no-ip.org> <50067916.8010508@gmail.com> <5006D340.4000808@gmail.com> <20120719.081626.240539691760651172.t-ishii@sraoss.co.jp> Comments: In-reply-to Tatsuo Ishii message dated "Thu, 19 Jul 2012 08:16:26 +0900" Date: Wed, 18 Jul 2012 21:42:45 -0400 Message-ID: <7295.1342662165@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/151 X-Sequence-Number: 33627 Tatsuo Ishii writes: > My idea is using mule-internal encoding for the log file instead of > UTF-8. There are several advantages: > 1) Converion to mule-internal encoding is cheap because no conversion > table is required. Also no information loss happens in this > conversion. > 2) Mule-internal encoding can be handled by emacs, one of the most > popular editors in the world. > 3) No need to worry about locale. Mule-internal encoding has enough > information about language. Um ... but ... (1) nothing whatsoever can read MULE, except emacs and xemacs. (2) there is more than one version of MULE (emacs versus xemacs, not to mention any possible cross-version discrepancies). (3) from a log volume standpoint, this could be pretty disastrous. I'm not for a write-only solution, which is pretty much what this would be. regards, tom lane