Thread: pgsql: Fix harmless LC_COLLATE[_MASK] confusion.

pgsql: Fix harmless LC_COLLATE[_MASK] confusion.

From
Thomas Munro
Date:
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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2724ff381a161eb030a1fcd2a6346679d74db420

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