From: Tom Lane Date: Sun, 25 Apr 1999 21:56:19 +0000 (+0000) Subject: Explicitly set PGCLIENTENCODING during regression tests, X-Git-Tag: REL6_5~351 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=109cbc721740d5e6ec5b16f36f7eec61f2294b7e;p=postgresql Explicitly set PGCLIENTENCODING during regression tests, since multibyte tests fail if it's different from database... --- diff --git a/src/test/regress/regress.sh b/src/test/regress/regress.sh index 484c96f94f..14f4739b2b 100755 --- a/src/test/regress/regress.sh +++ b/src/test/regress/regress.sh @@ -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