From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add function to import operating system collations
Date: Wed, 18 Jan 2017 13:52:31 -0500
Message-ID: <57d99bf7-abaa-16bb-7ea8-1ca019c4caf6@2ndquadrant.com> (raw)
In-Reply-To: <2820.1484765163@sss.pgh.pa.us>
References: <E1cTrLM-0008E8-6K@gemulon.postgresql.org>
<26116.1484751196@sss.pgh.pa.us>
<2083.1484754187@sss.pgh.pa.us>
<9b99c8c5-5a77-f1ae-6d90-bef0e85552a0@2ndquadrant.com>
<19773.1484761021@sss.pgh.pa.us>
<2820.1484765163@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 1/18/17 1:46 PM, Tom Lane wrote:
> I wrote:
>> The previous coding applied a sort so as not to depend on what
>> order "locale -a" had returned things in, and I think we need
>> to retain that. At the very least, all the normalized names
>> need to be saved up and entered in a second pass.
>
> Actually, it seems like doing precisely that should be enough to fix
> it. The original names shouldn't have any dups, and if we generate
> dup names by stripping, those will be for different encodings so it's
> OK. I've pushed a fix based on that.
Yeah, I was just about to write the exact same code. Looks good, thanks.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Add function to import operating system collations
In-Reply-To: <57d99bf7-abaa-16bb-7ea8-1ca019c4caf6@2ndquadrant.com>
References: <E1cTrLM-0008E8-6K@gemulon.postgresql.org> <26116.1484751196@sss.pgh.pa.us> <2083.1484754187@sss.pgh.pa.us> <9b99c8c5-5a77-f1ae-6d90-bef0e85552a0@2ndquadrant.com> <19773.1484761021@sss.pgh.pa.us> <2820.1484765163@sss.pgh.pa.us> <57d99bf7-abaa-16bb-7ea8-1ca019c4caf6@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox