Re: pg_collation.collversion for C.UTF-8

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Jeff Davis <pgsql@j-davis.com>, Daniel Verite <daniel@manitou-mail.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Thomas Munro <thomas.munro@gmail.com>, pgsql-hackers@postgresql.org
Date: 2023-06-07T21:28:48Z
Lists: pgsql-hackers
On 06.06.23 21:23, Jeff Davis wrote:
> What about ICU? How should provider=icu locale=C.UTF-8 behave? We
> could:

It should be an error.

> a. Just pass it to the provider and see what happens (older versions of
> ICU would interpret it as en-US-u-va-posix; newer versions would give
> the root locale).

This, but with an error instead of a warning.




Commits

  1. ICU: do not convert locale 'C' to 'en-US-u-va-posix'.