Re: Identifier downcase change for LATIN1, in v19
Re: Identifier downcase change for LATIN1, in v19
От:
Jeff Davis <pgsql@j-davis.com>
Дата:
On Wed, 2026-08-26 at 15:55 -0700, Noah Misch wrote: > Commit 87b2968 > "downcase_identifier(): use method table from locale provider" > changed this. Thank you for the report. Yes, that was an unintentional behavior change for provider=builtin, locale=C, single-byte encoding, and a non-C LC_CTYPE setting. I think the right fix is to just revert 0a90df58cf & 87b2968df0. Those were intended to be cleanup to reduce the dependency on the LC_CTYPE setting, but if we need the dependency for all three providers, then those commits didn't move us any closer to that goal. > Opus 5 found that, under LATIN1, psql running "\d TABLENAME" can > find a > different table than the one "SELECT * FROM TABLENAME" reads. To be pedantic, that can happen regardless. There's no guarantee that the client's libc and the server's libc agree. Regards, Jeff Davis