pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix createdb tests for C locale
Date: Fri, 16 Sep 2022 09:16:51 +0000
Message-ID: <E1oZ7Ss-000aC0-Uy@gemulon.postgresql.org> (raw)

Fix createdb tests for C locale

If the createdb tests run under the C locale, the database cluster
will be initialized with encoding SQL_ASCII.  With the checks added in
c7db01e325a530ec38ec7ba57cd3ed32e123e33c, this will cause several
ICU-related tests to fail because SQL_ASCII is not supported by ICU.
To work around that, use initdb option -E UTF8 for those tests to get
past that check.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8135d0bd455217bd345090bae085b2bbcf62bdb0

Modified Files
--------------
src/bin/scripts/t/020_createdb.pl | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)



view thread (8+ messages)  latest in thread

Message-ID: <E1oZ7Ss-000aC0-Uy@gemulon.postgresql.org>
Permalink:  ../E1oZ7Ss-000aC0-Uy@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oZ7Ss-000aC0-Uy@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Fix createdb tests for C locale
  In-Reply-To: <E1oZ7Ss-000aC0-Uy@gemulon.postgresql.org>
  References: <E1oZ7Ss-000aC0-Uy@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox