1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-13 14:22:43 +03:00

Remove all traces of multibyte and locale options. Clean up comments

referring to "multibyte" where it really means character encoding.
This commit is contained in:
Peter Eisentraut
2002-09-03 21:45:44 +00:00
parent 86f27321e2
commit 77f7763b55
47 changed files with 127 additions and 284 deletions

View File

@@ -1,11 +1,11 @@
# $Header: /cvsroot/pgsql/src/test/locale/Makefile,v 1.7 2001/01/19 19:15:33 petere Exp $
# $Header: /cvsroot/pgsql/src/test/locale/Makefile,v 1.8 2002/09/03 21:45:44 petere Exp $
subdir = src/test/locale
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
PROGS = test-pgsql-locale test-ctype
PROGS = test-ctype
DIRS = de_DE.ISO8859-1 gr_GR.ISO8859-7 koi8-r koi8-to-win1251
all: $(PROGS)

View File

@@ -1,4 +1,4 @@
$Header: /cvsroot/pgsql/src/test/locale/README,v 1.3 2001/01/19 19:43:27 petere Exp $
$Header: /cvsroot/pgsql/src/test/locale/README,v 1.4 2002/09/03 21:45:44 petere Exp $
This directory contains a set of tests for locales. I provided one C
program test-ctype.c to test CTYPE support in libc and the installed
@@ -11,11 +11,9 @@ for example
gmake check-koi8-r
Currently, there are only tests for a few locales available. The script
'runall' calls test-pgsql-locale to test whether locale support has been
compiled into PostgreSQL, test-ctype to test libc and locale data,
test-sort.pl (uncomment test-sort.py, if you have a Python interpreter
installed), and does tests on PostgreSQL with the provided SQL script
files.
'runall' calls test-ctype to test libc and locale data, test-sort.pl
(uncomment test-sort.py, if you have a Python interpreter installed), and
does tests on PostgreSQL with the provided SQL script files.
To add locale tests one needs to create a directory $locale and create
a Makefile (and other files) similar to koi8-r/*. Actually, the simplest

View File

@@ -3,9 +3,6 @@
PATH=..:$PATH
echo "Testing PostgreSQL compilation..."
if ! test-pgsql-locale; then
exit 1
fi
LC_CTYPE=de_DE.ISO8859-1
LC_COLLATE=$LC_CTYPE

View File

@@ -3,9 +3,6 @@
PATH=..:$PATH
echo "Testing PostgreSQL compilation..."
if ! test-pgsql-locale; then
exit 1
fi
LC_CTYPE=gr_GR.ISO8859-7
LC_COLLATE=$LC_CTYPE

View File

@@ -3,9 +3,6 @@
PATH=..:$PATH
echo "Testing PostgreSQL compilation..."
if ! test-pgsql-locale; then
exit 1
fi
LC_CTYPE=ru_RU.KOI8-R
LC_COLLATE=$LC_CTYPE

View File

@@ -3,9 +3,6 @@
PATH=..:$PATH
echo "Testing PostgreSQL compilation..."
if ! test-pgsql-locale; then
exit 1
fi
LC_CTYPE=ru_RU.KOI8-R
LC_COLLATE=$LC_CTYPE

View File

@@ -1,14 +0,0 @@
#include "postgres.h"
int
main()
{
#ifdef USE_LOCALE
printf("PostgreSQL compiled with locale support\n");
return 0;
#else
printf("PostgreSQL compiled without locale support\n");
return 1;
#endif
}

View File

@@ -1,9 +1,8 @@
README for MB(multi-byte) regression test
README for multibyte regression test
1998/7/22
Tatsuo Ishii
This directory contains a set of tests for MB(multi-byte) supporting
This directory contains a set of tests for multibyte supporting
extentions for PostgreSQL. To run the test, simply type:
% mbregress.sh

View File

@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.38 2002/07/02 05:43:34 momjian Exp $
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.39 2002/09/03 21:45:44 petere Exp $
#
#-------------------------------------------------------------------------
@@ -22,6 +22,9 @@ override CFLAGS += $(CFLAGS_SL)
override DLLLIBS := $(BE_DLLLIBS) $(DLLLIBS)
# default encoding
MULTIBYTE = SQL_ASCII
##
## Prepare for tests