]> 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:22:20 +0000 (22:22 +1200)
commitf1707c5f4f647e58ba299af3750d24f6d3b00cd6
tree59e058285e68357bcadabe30ecf360490a142561
parentb3bb1e24b62c664dae694bfae6b409ac2b0aad3d
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