diff options
| author | Marc G. Fournier | 1998-03-15 07:39:04 +0000 |
|---|---|---|
| committer | Marc G. Fournier | 1998-03-15 07:39:04 +0000 |
| commit | 661ecf3c48e16a9add216287eb969d7615e47968 (patch) | |
| tree | 91b54d5905aa2e22bd0ae9ea8c6b0f3cab75d3f4 /src/test | |
| parent | 31a925c4d07675bc098a742ee9ca642ec79a40ee (diff) | |
From: t-ishii@sra.co.jp
Included are patches intended for allowing PostgreSQL to handle
multi-byte charachter sets such as EUC(Extende Unix Code), Unicode and
Mule internal code. With the MB patch you can use multi-byte character
sets in regexp and LIKE. The encoding system chosen is determined at
the compile time.
To enable the MB extension, you need to define a variable "MB" in
Makefile.global or in Makefile.custom. For further information please
take a look at README.mb under doc directory.
(Note that unlike "jp patch" I do not use modified GNU regexp any
more. I changed Henry Spencer's regexp coming with PostgreSQL.)
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/regress/GNUmakefile | 3 | ||||
| -rwxr-xr-x | src/test/regress/regress.sh | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/test/regress/GNUmakefile b/src/test/regress/GNUmakefile index 90080e298b8..0ac00215412 100644 --- a/src/test/regress/GNUmakefile +++ b/src/test/regress/GNUmakefile @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.14 1998/01/17 23:39:22 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.15 1998/03/15 07:39:01 scrappy Exp $ # #------------------------------------------------------------------------- @@ -50,6 +50,7 @@ all: $(INFILES) # run the test # runtest: $(INFILES) + MB=$(MB);export MB; \ $(SHELL) ./regress.sh 2>&1 | tee regress.out @echo "ACTUAL RESULTS OF REGRESSION TEST ARE NOW IN FILE regress.out" diff --git a/src/test/regress/regress.sh b/src/test/regress/regress.sh index d27d2a1e90d..f12b431e31b 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.17 1998/02/25 15:02:18 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.18 1998/03/15 07:39:04 scrappy Exp $ # if echo '\c' | grep -s c >/dev/null 2>&1 then @@ -42,7 +42,12 @@ fi echo "=============== running regression queries... =================" echo "" > regression.diffs -for i in `cat sql/tests` +if [ a$MB != a ];then + mbtests=`echo $MB|tr A-Z a-z` +else + mbtests="" +fi +for i in `cat sql/tests` $mbtests do $ECHO_N "${i} .. " $ECHO_C $FRONTEND regression < sql/${i}.sql > results/${i}.out 2>&1 |
