Re: ICU 54 and earlier are too dangerous
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Davis <pgsql@j-davis.com>
Cc: pgsql-hackers@postgresql.org
Date: 2023-03-14T00:26:17Z
Lists: pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes: > In ICU 54 and earlier, if ucol_open() is unable to find a matching > locale, it will fall back to the *environment*. That's not great, but ... > Unless someone has a better idea, I think we need to bump the minimum > required ICU version to 55. That would solve the issue in v16 and > later, but those using old versions of ICU and old versions of postgres > would still be vulnerable to these kinds of typos. ... that seems like an overreaction. We know from the buildfarm that there's still a lot of old ICU out there. Is it really improving anybody's life to try to forbid them from using such a version? regards, tom lane
Commits
-
Validate ICU locales.
- 1671f990dd66 16.0 landed