Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit797f980

Browse files
committed
pg_regress: for --no-locale, use LOCALE='C'.
Instead of specifying LC_COLLATE='C' and LC_CTYPE='C', specifyLOCALE='C' which will also affect ICU. This makes pg_regressconsistent with recent changes to initdb in commita14e75e.Fixes buildfarm failure.Discussion:https://postgr.es/m/2458565.1686953169@sss.pgh.pa.us
1 parent7fcd7ef commit797f980

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/test/regress/pg_regress.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,10 +1972,10 @@ create_database(const char *dbname)
19721972
*/
19731973
if (encoding)
19741974
psql_add_command(buf,"CREATE DATABASE \"%s\" TEMPLATE=template0 ENCODING='%s'%s",dbname,encoding,
1975-
(nolocale) ?"LC_COLLATE='C' LC_CTYPE='C'" :"");
1975+
(nolocale) ?"LOCALE='C'" :"");
19761976
else
19771977
psql_add_command(buf,"CREATE DATABASE \"%s\" TEMPLATE=template0%s",dbname,
1978-
(nolocale) ?"LC_COLLATE='C' LC_CTYPE='C'" :"");
1978+
(nolocale) ?"LOCALE='C'" :"");
19791979
psql_add_command(buf,
19801980
"ALTER DATABASE \"%s\" SET lc_messages TO 'C';"
19811981
"ALTER DATABASE \"%s\" SET lc_monetary TO 'C';"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp