Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W4Xa5-0001TZ-VB for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Jan 2014 15:13:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W4Xa5-0005RJ-Aq for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Jan 2014 15:13:05 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W4Xa4-0005RB-02 for pgsql-hackers@postgresql.org; Sat, 18 Jan 2014 15:13:04 +0000 Received: from outmail148107.authsmtp.com ([62.13.148.107]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W4Xa0-0001DC-EZ for pgsql-hackers@postgresql.org; Sat, 18 Jan 2014 15:13:03 +0000 Received: from mail-c235.authsmtp.com (mail-c235.authsmtp.com [62.13.128.235]) by punt18.authsmtp.com (8.14.2/8.14.2/) with ESMTP id s0IFCvIS087046; Sat, 18 Jan 2014 15:12:57 GMT Received: from ayaki.localdomain (106-68-67-45.dyn.iinet.net.au [106.68.67.45]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id s0IFCq6k083477 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 18 Jan 2014 15:12:55 GMT Message-ID: <52DA99F3.905@2ndquadrant.com> Date: Sat, 18 Jan 2014 23:12:51 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Robert Haas CC: Andres Freund , "pgsql-hackers@postgresql.org" Subject: Re: Changeset Extraction v7.0 (was logical changeset generation) References: <20140115002223.GA17204@awork2.anarazel.de> <52D8A05C.5080504@2ndquadrant.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Server-Quench: 02f6013b-8053-11e3-b802-002590a15da7 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZeVg0b BQteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadRtFaQ1bZ1hf HGQLWlBEUVh7WGF/ bg0fbAVbfExGQQNt TkxMXVBXFgB3AFJC BmdoIVh0LAVOe3p3 YghlWXFZEkR4I0B9 Q00GCGUGYGR9aWFK U10KfwNWbQNKfBpM agF+USdcZitlM3Bw LC8aFBMcBw5qYA9V SwcCIEkfXQ4mDiIm ThseHDIpVVNaAX17 bwMvMRYYG0kQOUw2 eVAhUFQXPgQfFkVR EkdAGiZFJl4HBkIA X-Authentic-SMTP: 61633235383639.1023:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 106.68.67.45/2525 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 01/18/2014 09:31 PM, Robert Haas wrote: > On Thu, Jan 16, 2014 at 10:15 PM, Craig Ringer wrote: >> Anybody who actually uses SHIFT_JIS as an operational encoding, rather >> than as an input/output encoding, is into pain and suffering. Personally >> I'd be quite happy to see it supported as client_encoding, but forbidden >> as a server-side encoding. That's not the case right now - so since we >> support it, we'd better guard against its quirks. > > I think that *is* the case right now. pg_wchar.h sayeth: > > /* followings are for client encoding only */ > PG_SJIS, /* Shift JIS > (Winindows-932) */ > PG_BIG5, /* Big5 (Windows-950) */ > PG_GBK, /* GBK (Windows-936) */ Perfect - that makes ASCII-only just fine, IMO. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers