pgsql: Fix harmless LC_COLLATE[_MASK] confusion. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Fix harmless LC_COLLATE[_MASK] confusion.
Date
Msg-id E1sfzcs-000Pb7-N1@gemulon.postgresql.org
Whole thread Raw
List 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_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/283964ee4dd1b447e3f7a847802ef183f7ac5e74

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


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Fix harmless LC_COLLATE[_MASK] confusion.
Next
From: Thomas Munro
Date:
Subject: pgsql: Fix harmless LC_COLLATE[_MASK] confusion.