pgsql: Fix harmless LC_COLLATE[_MASK] confusion.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix harmless LC_COLLATE[_MASK] confusion.
Date: 2024-08-19 10:28:26
Message-ID: E1sfzcg-000PaR-NW@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1cc73d15ea58ddc15f91269493811cef99987cb8

Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2024-08-19 10:28:38 pgsql: Fix harmless LC_COLLATE[_MASK] confusion.
Previous Message Thomas Munro 2024-08-19 10:28:19 pgsql: Fix harmless LC_COLLATE[_MASK] confusion.