Fix collate.windows.win1252 test.
authorJeff Davis <jdavis@postgresql.org>
Fri, 29 Dec 2023 19:26:10 +0000 (11:26 -0800)
committerJeff Davis <jdavis@postgresql.org>
Fri, 29 Dec 2023 19:26:10 +0000 (11:26 -0800)
commit2c321ceaa904eb2722050abd35bf4eaea434c8b5
tree3bcdf495b659cfd51c783af48f2db5b6c26340a3
parentc5385929593dd8499cfb5d85ac322e8ee1819fd4
Fix collate.windows.win1252 test.

Do not rely on the OS recognizing a particular locale; find the right
locale by querying the "en_US" collation.

Author: Alexander Lakhin
Reported-by: Alexander Lakhin
Discussion: https://postgr.es/m/ae73f6f5-8221-c112-4640-5cda812a69de@gmail.com
src/test/regress/expected/collate.windows.win1252.out
src/test/regress/sql/collate.windows.win1252.sql