Re: Re: ICU collation variant keywords and pg_collation entries (Was: [BUGS] Crash report for some ICU-52 (debian8) COLLATE and work_mem values)

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>, Noah Misch <noah(at)leadboat(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Daniel Verite <daniel(at)manitou-mail(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: ICU collation variant keywords and pg_collation entries (Was: [BUGS] Crash report for some ICU-52 (debian8) COLLATE and work_mem values)
Date: 2017-08-21 15:23:22
Message-ID: d2cd08e7-7b8a-5603-49c4-8dd2d07ff358@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 8/19/17 19:15, Peter Geoghegan wrote:
> Noah Misch <noah(at)leadboat(dot)com> wrote:
>> I think you're contending that, as formulated, this is not a valid v10 open
>> item. Are you?
>
> As the person that came up with this formulation, I'd like to give a
> quick summary of my current understanding of the item's status:
>
> * We're in agreement that we ought to have initdb create initial
> collations based on ICU locales, not based on distinct ICU
> collations [1].
>
> * We're in agreement that variant keywords should not be
> created for each base locale/collation [2].
>
> Once these two changes are made, I think that everything will be in good
> shape as far as pg_collation name stability goes. It shouldn't take
> Peter E. long to write the patch. I'm happy to write the patch on his
> behalf if that saves time.
>
> We're also going to work on the documentation, to make keyword variants
> like -emoji and -traditional at least somewhat discoverable, and to
> explain the capabilities of custom ICU collations more generally.

Here are my patches to address this.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-Expand-set-of-predefined-ICU-locales.patch text/plain 3.9 KB
0002-Don-t-install-ICU-collation-keyword-variants.patch text/plain 7.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2017-08-21 15:25:25 Re: What users can do with custom ICU collations in Postgres 10
Previous Message Robert Haas 2017-08-21 14:29:02 Re: shm_mq_wait_internal gets stuck forever on fast shutdown