Re: pgsql: createdb: Fix quoting of --encoding, --lc-ctype and --lc-collate - Mailing list pgsql-committers

From Robert Haas
Subject Re: pgsql: createdb: Fix quoting of --encoding, --lc-ctype and --lc-collate
Date
Msg-id CA+TgmoZ6ddh3mHD9gU8DvNYoFmuJaYYn1+4AvZNp25vTdRwCAQ@mail.gmail.com
Whole thread Raw
In response to pgsql: createdb: Fix quoting of --encoding, --lc-ctype and --lc-collate  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pgsql: createdb: Fix quoting of --encoding, --lc-ctype and--lc-collate  (Michael Paquier <michael@paquier.xyz>)
List pgsql-committers
Buildfarm member curculio just failed with this complaint:

#   Failed test 'createdb with incorrect --lc-ctype stderr
/(?^s:^createdb: error: database creation failed: ERROR:  invalid
locale name)/'
#   at t/020_createdb.pl line 43.
#                   'createdb: error: database creation failed: ERROR:
 new LC_CTYPE (foo'; SELECT '1) is incompatible with the LC_CTYPE of
the template database (C)
# HINT:  Use the same LC_CTYPE as in the template database, or use
template0 as template.
# '
#     doesn't match '(?^s:^createdb: error: database creation failed:
ERROR:  invalid locale name)'
# Looks like you failed 1 test of 22.
[04:39:08] t/020_createdb.pl .........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/22 subtests

...Robert



pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Move src/backend/utils/hash/hashfn.c to src/common
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: createdb: Fix quoting of --encoding, --lc-ctype and--lc-collate