pgsql: Fix test failures when language environment is not UTF-8.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix test failures when language environment is not UTF-8.
Date: 2024-04-04 23:23:57
Message-ID: E1rsWR3-000Y4E-Cj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e2a235767180941eef8887240ddace1a021f04e3

Modified Files
--------------
src/bin/initdb/t/001_initdb.pl | 2 ++
src/bin/scripts/t/020_createdb.pl | 2 ++
2 files changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-04-05 00:04:37 pgsql: Add "ABI_compatibility" regions to wait_event_names.txt
Previous Message Robert Haas 2024-04-04 20:32:32 pgsql: Fix old, misleading comment for PGRES_POLLING_ACTIVE.