Fix test failures when language environment is not UTF-8.
authorJeff Davis <[email protected]>
Thu, 4 Apr 2024 23:10:12 +0000 (16:10 -0700)
committerJeff Davis <[email protected]>
Thu, 4 Apr 2024 23:10:12 +0000 (16:10 -0700)
commite2a235767180941eef8887240ddace1a021f04e3
tree4f2a000fe46beccb04de006be95e9cc63075c312
parente57fe3824ee7a9cb551ca1cae5aa0394216ef7b8
Fix test failures when language environment is not UTF-8.

For tests that depend on UTF-8 encoding, force LC_COLLATE=C and
LC_CTYPE=C to avoid an encoding mismatch.

Reported-by: Thomas Munro
Discussion: https://postgr.es/m/CA+hUKGK-ZqV1njkG_=xcCqXh2fcMkz85FTMnhS2opm4ZerH=xw@mail.gmail.com
src/bin/initdb/t/001_initdb.pl
src/bin/scripts/t/020_createdb.pl