Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 89B54B5DC22 for ; Tue, 18 Oct 2011 00:54:55 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 86525-05 for ; Tue, 18 Oct 2011 03:54:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id ADA80B5DC20 for ; Tue, 18 Oct 2011 00:54:48 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p9I3sjxU025894; Mon, 17 Oct 2011 23:54:45 -0400 (EDT) To: Robert Haas cc: Kyotaro HORIGUCHI , pgsql-hackers@postgresql.org Subject: Re: [v9.2] make_greater_string() does not return a string in some cases In-reply-to: References: <20111007.132246.187325868.horiguchi.kyotaro@oss.ntt.co.jp> <20111011.165500.124520773.horiguchi.kyotaro@oss.ntt.co.jp> <20111013.124530.97708970.horiguchi.kyotaro@oss.ntt.co.jp> Comments: In-reply-to Robert Haas message dated "Mon, 17 Oct 2011 23:45:05 -0400" Date: Mon, 17 Oct 2011 23:54:45 -0400 Message-ID: <25893.1318910085@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/968 X-Sequence-Number: 196774 Robert Haas writes: > - Why does the second byte need special handling for 0xED and 0xF4? http://www.faqs.org/rfcs/rfc3629.html See section 4 in particular. The underlying requirement is to disallow multiple representations of the same Unicode code point. regards, tom lane