diff options
| author | Bruce Momjian <bruce@momjian.us> | 1998-06-16 06:42:02 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1998-06-16 06:42:02 +0000 |
| commit | 8d8bcda2531bbae665c2cbe57dade4271b0eb087 (patch) | |
| tree | 1cb88a3b8fc135e89d6a070dff2244656696c90a /src/test/locale/README | |
| parent | 67a636918a85fb29333d6b3c8d576ffe62f7df9a (diff) | |
| download | postgresql-8d8bcda2531bbae665c2cbe57dade4271b0eb087.tar.gz | |
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
Diffstat (limited to 'src/test/locale/README')
| -rw-r--r-- | src/test/locale/README | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/test/locale/README b/src/test/locale/README new file mode 100644 index 0000000000..9cdf64ac23 --- /dev/null +++ b/src/test/locale/README @@ -0,0 +1,27 @@ + +1998 May 25 + + 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 + + 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. + + 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. + +Oleg. +---- + Oleg Broytmann http://members.tripod.com/~phd2/ phd2@earthling.net |
