pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Daniel Verite <daniel@manitou-mail.org>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values
Date: Mon, 07 Aug 2017 13:30:50 -0400
Message-ID: <32388.1502127050@sss.pgh.pa.us> (raw)
In-Reply-To: <1b0681a0-83d6-4cce-cf6d-f90cfe3b2069@2ndquadrant.com>
References: <57860965-169f-461b-81f0-60d398894938@manitou-mail.org>
	<10186.1501989988@sss.pgh.pa.us>
	<1b0681a0-83d6-4cce-cf6d-f90cfe3b2069@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 8/5/17 23:26, Tom Lane wrote:
>> I'm quite disturbed though that the set of installed collations on these
>> two test cases seem to be entirely different both from each other and from
>> what you reported.  The base collations look generally similar, but the
>> "keyword variant" versions are not comparable at all.

> The differences you are seeing are probably because we intentionally
> removed the keyword variants for ICU 4.2:
> <https://www.postgresql.org/message-id/E1ddzFn-0005x5-N0%40gemulon.postgresql.org;.

After looking more closely, I think I'd mistaken keyword variants for
something else.  As an example, I get these "af-*" collations installed
by initdb when using ICU 52.1:

 af-x-icu
 af-u-co-standard-x-icu
 af-u-co-eor-x-icu
 af-u-co-search-x-icu
 af-NA-x-icu
 af-NA-u-co-standard-x-icu
 af-NA-u-co-eor-x-icu
 af-NA-u-co-search-x-icu
 af-ZA-x-icu
 af-ZA-u-co-standard-x-icu
 af-ZA-u-co-eor-x-icu
 af-ZA-u-co-search-x-icu

while with ICU 57.1, the set is

 af-x-icu
 af-u-co-standard-x-icu
 af-u-co-emoji-x-icu
 af-u-co-eor-x-icu
 af-u-co-search-x-icu

So they added emojis (I'm with Peter G that we could do without installing
that by default) ... but what became of the af-NA and af-ZA collations?
If I were a user who'd adopted one of those as a database collation,
I'd be seriously unhappy to have them go away in a later PG release.

I think we'd be well advised to filter the set of installed-by-default
collations rather strongly, in hope of avoiding such problems.  For
starters, do we really need the keyword variants at all?  People who
know what those are for can create their own collations, and take
their own risks of the feature disappearing in later ICU releases.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (85+ messages)  latest in thread

Message-ID: <32388.1502127050@sss.pgh.pa.us>
Permalink:  ../32388.1502127050@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/32388.1502127050@sss.pgh.pa.us

 · 

reply

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com, daniel@manitou-mail.org, pg@bowt.ie
  Subject: Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values
  In-Reply-To: <32388.1502127050@sss.pgh.pa.us>
  References: <57860965-169f-461b-81f0-60d398894938@manitou-mail.org> <10186.1501989988@sss.pgh.pa.us> <1b0681a0-83d6-4cce-cf6d-f90cfe3b2069@2ndquadrant.com> <32388.1502127050@sss.pgh.pa.us>

* 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