diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:17:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:17:33 +0000 |
commit | 5e45211a64149b3c659b90ff2de6fa982a5a93ed (patch) | |
tree | 739caf8c461053357daa9f162bef34516c7bf452 /src/test/locale/README | |
parent | Initial commit. (diff) | |
download | postgresql-15-5e45211a64149b3c659b90ff2de6fa982a5a93ed.tar.xz postgresql-15-5e45211a64149b3c659b90ff2de6fa982a5a93ed.zip |
Adding upstream version 15.5.upstream/15.5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/locale/README')
-rw-r--r-- | src/test/locale/README | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/test/locale/README b/src/test/locale/README new file mode 100644 index 0000000..e290e31 --- /dev/null +++ b/src/test/locale/README @@ -0,0 +1,28 @@ +src/test/locale/README + +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 + make check-$locale +for example + make 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 |