Re: Update Unicode data to Unicode 16.0.0

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Joe Conway <mail(at)joeconway(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Jeremy Schneider <schneider(at)ardentperf(dot)com>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Update Unicode data to Unicode 16.0.0
Date: 2025-03-18 18:45:28
Message-ID: CA+TgmoYWDZ08kd237Htw=FVyjYMos7ZpbDQcEOhhAsMY6mxtXg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Mar 18, 2025 at 11:54 AM Jeff Davis <pgsql(at)j-davis(dot)com> wrote:
> What do you think of Tom's argument that waiting to update Unicode is
> what creates the problem in the first place?
>
> "by then they might well have instances of the newly-assigned code
> points in their database"[1]

I know you weren't asking me, but FWIW, I think Tom has a point, but I
also don't completely buy it. There's no technological safeguard
against people using Unicode points before they're assigned, so we
can't assume that no one ever does. And they probably do.

I think Joe has the right idea. The way to actually provide the
stability that people want here is to continue supporting old versions
while adding support for new versions. Anything else we do works
subject to assumptions: you can either assume that people don't use
code points before they're assigned (as Tom proposes) or you can
assume that not updating to newer Unicode specs will not cause any
problems for anyone. Joe's proposal is unique in requiring no
assumptions about what users will do or what they care about. It just
works, period. The only disadvantage is that it's more work for us,
but this problem has caused enough suffering over the years that I bet
we can find hackers to implement it and maintain it on an ongoing
basis without great difficulty.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2025-03-18 18:46:16 Re: making EXPLAIN extensible
Previous Message Tom Lane 2025-03-18 18:40:19 Re: making EXPLAIN extensible