head	1.6;
access;
symbols
	REL9_0_0:1.6
	REL9_1_ALPHA1:1.6
	REL9_0_RC1:1.6
	REL9_0_BETA4:1.6
	REL9_0_STABLE:1.6.0.14
	REL9_0_BETA3:1.6
	REL9_0_BETA2:1.6
	REL7_4_29:1.4
	REL8_0_25:1.5
	REL8_1_21:1.5
	REL8_2_17:1.5
	REL8_3_11:1.5
	REL8_4_4:1.6
	REL9_0_BETA1:1.6
	REL9_0_ALPHA5_BRANCH:1.6.0.12
	REL9_0_ALPHA5:1.6
	REL7_4_28:1.4
	REL8_0_24:1.5
	REL8_1_20:1.5
	REL8_2_16:1.5
	REL8_3_10:1.5
	REL8_4_3:1.6
	REL9_0_ALPHA4:1.6
	REL9_0_ALPHA4_BRANCH:1.6.0.10
	REL8_5_ALPHA3:1.6
	REL8_5_ALPHA3_BRANCH:1.6.0.8
	REL7_4_27:1.4
	REL8_0_23:1.5
	REL8_1_19:1.5
	REL8_2_15:1.5
	REL8_3_9:1.5
	REL8_4_2:1.6
	REL8_5_ALPHA2:1.6
	REL8_5_ALPHA2_BRANCH:1.6.0.6
	REL7_4_26:1.4
	REL8_0_22:1.5
	REL8_1_18:1.5
	REL8_2_14:1.5
	REL8_3_8:1.5
	REL8_4_1:1.6
	REL8_5_ALPHA1:1.6
	REL8_5_ALPHA1_BRANCH:1.6.0.4
	REL8_4_STABLE:1.6.0.2
	REL8_4_0:1.6
	REL8_4_RC2:1.6
	REL8_4_RC1:1.6
	REL8_4_BETA2:1.6
	REL8_4_BETA1:1.6
	REL7_4_25:1.4
	REL8_0_21:1.5
	REL8_1_17:1.5
	REL8_2_13:1.5
	REL8_3_7:1.5
	REL7_4_24:1.4
	REL8_0_20:1.5
	REL8_1_16:1.5
	REL8_2_12:1.5
	REL8_3_6:1.5
	REL7_4_23:1.4
	REL8_0_19:1.5
	REL8_1_15:1.5
	REL8_2_11:1.5
	REL8_3_5:1.5
	REL7_4_22:1.4
	REL8_0_18:1.5
	REL8_1_14:1.5
	REL8_2_10:1.5
	REL8_3_4:1.5
	REL7_4_21:1.4
	REL8_0_17:1.5
	REL8_1_13:1.5
	REL8_2_9:1.5
	REL8_3_3:1.5
	REL7_4_20:1.4
	REL8_0_16:1.5
	REL8_1_12:1.5
	REL8_2_8:1.5
	REL8_3_2:1.5
	REL8_2_7:1.5
	REL8_3_1:1.5
	REL8_3_STABLE:1.5.0.10
	REL8_3_0:1.5
	REL8_3_RC2:1.5
	REL7_3_21:1.4
	REL7_4_19:1.4
	REL8_0_15:1.5
	REL8_1_11:1.5
	REL8_2_6:1.5
	REL8_3_RC1:1.5
	REL8_3_BETA4:1.5
	REL8_3_BETA3:1.5
	REL8_3_BETA2:1.5
	REL8_3_BETA1:1.5
	REL7_3_20:1.4
	REL7_4_18:1.4
	REL8_0_14:1.5
	REL8_1_10:1.5
	REL8_2_5:1.5
	REL7_3_19:1.4
	REL7_4_17:1.4
	REL8_0_13:1.5
	REL8_1_9:1.5
	REL8_2_4:1.5
	REL8_0_12:1.5
	REL8_1_8:1.5
	REL8_2_3:1.5
	REL7_3_18:1.4
	REL7_4_16:1.4
	REL8_0_11:1.5
	REL8_1_7:1.5
	REL8_2_2:1.5
	REL8_0_10:1.5
	REL8_1_6:1.5
	REL8_2_1:1.5
	REL7_4_15:1.4
	REL7_3_17:1.4
	REL8_2_STABLE:1.5.0.8
	REL8_2_0:1.5
	REL8_2_RC1:1.5
	REL8_2_BETA3:1.5
	REL8_2_BETA2:1.5
	REL8_1_5:1.5
	REL8_0_9:1.5
	REL7_4_14:1.4
	REL7_3_16:1.4
	REL8_2_BETA1:1.5
	REL7_3_15:1.4
	REL7_4_13:1.4
	REL8_0_8:1.5
	REL8_1_4:1.5
	REL7_3_14:1.4
	REL7_4_12:1.4
	REL8_0_7:1.5
	REL8_1_3:1.5
	REL7_3_13:1.4
	REL7_4_11:1.4
	REL8_0_6:1.5
	REL8_1_2:1.5
	REL7_3_12:1.4
	REL7_4_10:1.4
	REL8_0_5:1.5
	REL8_1_1:1.5
	REL8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1.3.0.2
	REL7_1_BETA:1.2
	REL7_1_BETA3:1.2
	REL7_1_BETA2:1.2
	REL7_1:1.3
	REL7_0_PATCHES:1.2.0.4
	REL7_0:1.2
	REL6_5_PATCHES:1.2.0.2
	REL6_5:1.2
	REL6_4:1.1.0.2;
locks; strict;
comment	@# @;


1.6
date	2008.03.21.13.23.29;	author momjian;	state Exp;
branches;
next	1.5;

1.5
date	2003.11.29.19.52.14;	author pgsql;	state Exp;
branches;
next	1.4;

1.4
date	2002.09.03.21.45.44;	author petere;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.19.19.43.27;	author petere;	state Exp;
branches;
next	1.2;

1.2
date	99.03.29.08.59.50;	author ishii;	state Exp;
branches;
next	1.1;

1.1
date	98.06.16.06.41.55;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.6
log
@More README src cleanups.
@
text
@$PostgreSQL: pgsql/src/test/locale/README,v 1.5 2003/11/29 19:52:14 pgsql Exp $

Locales
=======

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
locale data.  Then there are test-sort.pl and test-sort.py that test
collating.

To run a test for some locale run
    gmake check-$locale
for example
    gmake check-koi8-r

Currently, there are only tests for a few locales available.  The script
'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
(I think) method is just to copy the koi8-r directory and edit/replace
the files.

Oleg.
---- 
    Oleg Broytmann     http://members.xoom.com/phd2/     phd2@@earthling.net
@


1.5
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d1 4
a4 1
$PostgreSQL: /cvsroot/pgsql-server/src/test/locale/README,v 1.4 2002/09/03 21:45:44 petere Exp $
@


1.4
log
@Remove all traces of multibyte and locale options.  Clean up comments
referring to "multibyte" where it really means character encoding.
@
text
@d1 1
a1 1
$Header: /cvsroot/pgsql-server/src/test/locale/README,v 1.3 2001/01/19 19:43:27 petere Exp $
@


1.3
log
@Update to reality.
@
text
@d1 1
a1 1
$Header$
d14 3
a16 5
'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.
@


1.2
log
@Addition to test/locale submitted by Oleg Broytmann. Comments from him:

There are two subdirectories (ISO8859-7 and koi8-to-win1251) containing
tests for Greek locale and server<=>client recoding feature (recently
submitted by Tatsuo Ishii <t-ishii@@sra.co.jp>; we've debugged his patches
together in the field of Cyrillic support).
@
text
@d1 1
d3 4
a6 1
1998 May 25
d8 4
a11 9
   This directory contains a set of tests for locales. I provided one C
program test-ctype.c to test CTYPE support in libc and installed
localedata. Then there are test-sort.pl and test-sort.py that tests
collating. (Also there is test-sort.py but it is commented out in scripts;
uncomment it if you have Python interpreter installed).
   To run a test for some locale (koi8, e.g) run
make all test-$locale
   (for example)
make all test-koi8
d13 6
a18 6
   Currently, only tests for koi8 locale (russian cyrillic for UN*X)
provided in koi8 directory. Script `runall' calls test-pgsql-locale to test
whether locale support had been compiled into PotgreSQL, test-ctype to test
libc and localedata, test-sort.pl (uncomment test-sort.py, if you have
Python interpreter installed) and does tests on PostgreSQL with
test-koi8*.sql.in.
d20 4
a23 3
   To add locale tests one need to create directory $locale and create
Makefile (and other files) similar to koi8-r/*. Actually, the simplest (I
think) method is just copy koi8-r directory and edit/replace files.
@


1.1
log
@Hello!

   Attached to the mail is locale-patch.tar.gz. In the archive
   there are:

file README.locale
   short description

directory src/test/locale
   test suite; currently only koi8-r tests, but the suite can be
   easily extended

file locale.patch
   the very patch; to apply: patch < locale.patch; should be applied
   to postgres-6.3.2 (at least I created it with 6.3.2 without any
additional
   patches)

   Files touched by the patch:  src/include/utils/builtins.h
src/backend/utils/adt/char.c src/backend/utils/adt/varchar.c
src/backend/utils/adt/varlena.c

Oleg
@
text
@d27 1
a27 1
    Oleg Broytmann     http://members.tripod.com/~phd2/     phd2@@earthling.net
@
