Re: [HACKERS] ICU locales and text/char(n) SortSupport on Windows - Mailing list pgsql-hackers

From Noah Misch
Subject Re: [HACKERS] ICU locales and text/char(n) SortSupport on Windows
Date
Msg-id 20170921060524.GB188913@rfd.leadboat.com
Whole thread Raw
In response to [HACKERS] ICU locales and text/char(n) SortSupport on Windows  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: [HACKERS] ICU locales and text/char(n) SortSupport on Windows
Re: [HACKERS] ICU locales and text/char(n) SortSupport on Windows
List pgsql-hackers
On Sat, Sep 16, 2017 at 03:33:53PM -0700, Peter Geoghegan wrote:
> In summary, we're currently attaching the use of SortSupport to the
> wrong thing. We're treating this UTF-16 business as something that
> implies a broad OS/platform restriction, when in fact it should be
> treated as implying a restriction for one particular collation
> provider only (a collation provider that happens to be built into
> Windows, but isn't really special to us).
> 
> Attached patch shows what I'm getting at. This is untested, since I
> don't use Windows. Proceed with caution.

This is currently a v10 open item, but I think it doesn't qualify for that
treatment.  It's merely an opportunity for optimization, albeit an
attractively-simple one.


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

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: [HACKERS] !USE_WIDE_UPPER_LOWER compile errors in v10+
Next
From: Thomas Munro
Date:
Subject: Re: [HACKERS] SERIALIZABLE with parallel query