mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 09:21:14 +02:00
Explicitly set PGCLIENTENCODING during regression tests,
since multibyte tests fail if it's different from database...
This commit is contained in:
parent
122923c97f
commit
109cbc7217
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.24 1999/04/14 14:02:00 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.25 1999/04/25 21:56:19 tgl Exp $
|
||||
#
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
@ -56,9 +56,12 @@ fi
|
||||
echo "=============== running regression queries... ================="
|
||||
echo "" > regression.diffs
|
||||
if [ -n "$MULTIBYTE" ];then
|
||||
mbtests=`echo $MULTIBYTE|tr "[A-Z]" "[a-z]"`
|
||||
mbtests=`echo $MULTIBYTE | tr "[A-Z]" "[a-z]"`
|
||||
PGCLIENTENCODING="$MULTIBYTE"
|
||||
export PGCLIENTENCODING
|
||||
else
|
||||
mbtests=""
|
||||
unset PGCLIENTENCODING
|
||||
fi
|
||||
for i in `cat sql/tests` $mbtests
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user