postgresql/src/test/locale
Tom Lane 870df2b3b7 Fix omission of -X (--no-psqlrc) in some psql invocations.
As of commit d5563d7df, psql -c no longer implies -X, but not all of
our regression testing scripts had gotten that memo.

To ensure consistency of results across different developers, make
sure that *all* invocations of psql in all scripts in our tree
use -X, even where this is not what previously happened.

Michael Paquier and Tom Lane
2015-12-28 11:46:43 -05:00
..
de_DE.ISO8859-1 Fix omission of -X (--no-psqlrc) in some psql invocations. 2015-12-28 11:46:43 -05:00
gr_GR.ISO8859-7 Fix omission of -X (--no-psqlrc) in some psql invocations. 2015-12-28 11:46:43 -05:00
koi8-r Fix omission of -X (--no-psqlrc) in some psql invocations. 2015-12-28 11:46:43 -05:00
koi8-to-win1251 Fix omission of -X (--no-psqlrc) in some psql invocations. 2015-12-28 11:46:43 -05:00
.gitignore Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
Makefile Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
README Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
sort-test.pl Run newly-configured perltidy script on Perl files. 2012-07-04 21:47:49 -04:00
sort-test.py Change 2001-01-19 18:35:40 +00:00
test-ctype.c Consistently quote encoding and locale names in messages 2012-04-13 20:37:07 +03:00

README

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