Re: Built-in CTYPE provider

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "Noah Misch" <noah(at)leadboat(dot)com>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, Jeff Davis <pgsql(at)j-davis(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Jeremy Schneider <schneider(at)ardentperf(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Built-in CTYPE provider
Date: 2024-07-05 11:55:40
Message-ID: 41c3fa3f-e0bf-4d79-8af3-ef2fd7d56c2e@manitou-mail.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Noah Misch wrote:

> > I don't think the builtin locale provider is any different in this respect
> > from the other providers: The locale data might change and there is a
> > version mechanism to track that. We don't prevent pg_upgrade in scenarios
> > like that for other providers.
>
> Each packager can choose their dependencies so the v16 providers don't have
> the problem. With the $SUBJECT provider, a packager won't have that option.

The Unicode data files downloaded into src/common/unicode/
depend on the versions defined in Makefile.global.in:

# Unicode data information

# Before each major release, update these and run make update-unicode.

# Pick a release from here: <https://www.unicode.org/Public/>. Note
# that the most recent release listed there is often a pre-release;
# don't pick that one, except for testing.
UNICODE_VERSION = 15.1.0

# Pick a release from here: <http://cldr.unicode.org/index/downloads>
CLDR_VERSION = 45

(CLDR_VERSION is apparently not used yet).

When these versions get bumped, it seems like packagers could stick to
previous versions by just overriding these.
When doing that, are there any function that may have an immutability
breakage problem with the built-in locale provider? (I would expect none).

Best regards,
--
Daniel Vérité
https://postgresql.verite.pro/
Twitter: @DanielVerite

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Jacobson 2024-07-05 11:56:17 Re: Optimize numeric multiplication for one and two base-NBASE digit multiplicands.
Previous Message Nisha Moond 2024-07-05 11:42:13 Re: Conflict Detection and Resolution