]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix harmless LC_COLLATE[_MASK] confusion.
authorThomas Munro <tmunro@postgresql.org>
Mon, 19 Aug 2024 09:21:03 +0000 (21:21 +1200)
committerThomas Munro <tmunro@postgresql.org>
Mon, 19 Aug 2024 10:21:24 +0000 (22:21 +1200)
commit283964ee4dd1b447e3f7a847802ef183f7ac5e74
treef9156fcd3f7c7807e3530ba7aa021e0ffbdfb614
parent1553c84960b0fce23f1ea51b7b5f9362af61f253
Fix harmless LC_COLLATE[_MASK] confusion.

Commit ca051d8b101 called newlocale(LC_COLLATE, ...) instead of
newlocale(LC_COLLATE_MASK, ...), in code reached only on FreeBSD.  They
have the same value on that OS, explaining why it worked.  Fix.

Back-patch to 14, where ca051d8b101 landed.
src/backend/utils/adt/pg_locale.c