mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Rename pg_regress option --multibyte to --encoding
Also refactor things a little bit so that the same methods for setting test locale and encoding can be used everywhere.
This commit is contained in:
@ -88,7 +88,7 @@ sub installcheck
|
||||
my @args = (
|
||||
"../../../$Config/pg_regress/pg_regress","--dlpath=.",
|
||||
"--psqldir=../../../$Config/psql","--schedule=${schedule}_schedule",
|
||||
"--multibyte=SQL_ASCII","--no-locale"
|
||||
"--encoding=SQL_ASCII","--no-locale"
|
||||
);
|
||||
push(@args,$maxconn) if $maxconn;
|
||||
system(@args);
|
||||
@ -101,7 +101,7 @@ sub check
|
||||
my @args = (
|
||||
"../../../$Config/pg_regress/pg_regress","--dlpath=.",
|
||||
"--psqldir=../../../$Config/psql","--schedule=${schedule}_schedule",
|
||||
"--multibyte=SQL_ASCII","--no-locale",
|
||||
"--encoding=SQL_ASCII","--no-locale",
|
||||
"--temp-install=./tmp_check","--top-builddir=\"$topdir\""
|
||||
);
|
||||
push(@args,$maxconn) if $maxconn;
|
||||
@ -125,7 +125,7 @@ sub ecpgcheck
|
||||
"--dbname=regress1,connectdb",
|
||||
"--create-role=connectuser,connectdb",
|
||||
"--schedule=${schedule}_schedule",
|
||||
"--multibyte=SQL_ASCII",
|
||||
"--encoding=SQL_ASCII",
|
||||
"--no-locale",
|
||||
"--temp-install=./tmp_chk",
|
||||
"--top-builddir=\"$topdir\""
|
||||
|
Reference in New Issue
Block a user