]> 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:59 +0000 (22:21 +1200)
commitc1bb534bae431f4bbc50abf471507457e1b24efc
treee8a92e5c52d1f62ee2c4836498ab2c11153c8a37
parent4247575c637b4d049346b96514ac9ca3363276d5
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