Adjust comments about collate.linux.utf8 regression test.

This test should now work in any database with UTF8 encoding, regardless
of the database's default locale.  The former restriction was really
"doesn't work if default locale is C", and that was because of not handling
mbstowcs/wcstombs correctly.
This commit is contained in:
Tom Lane 2011-04-23 12:51:47 -04:00
parent 2ab0796d7a
commit 1abd146ddd
3 changed files with 5 additions and 3 deletions

View File

@ -254,7 +254,7 @@ gmake check EXTRA_TESTS=numeric_big
gmake check EXTRA_TESTS=collate.linux.utf8 LANG=en_US.utf8
</screen>
The <literal>collate.linux.utf8</> test works only on Linux/glibc
platforms, and only when run in a locale that uses UTF-8 encoding.
platforms, and only when run in a database that uses UTF-8 encoding.
</para>
</sect2>
</sect1>

View File

@ -1,6 +1,7 @@
/*
* This test is for Linux/glibc systems and assumes that a full set of
* locales is installed. It must be run in a UTF-8 locale.
* locales is installed. It must be run in a database with UTF-8 encoding,
* because other encodings don't support all the characters used.
*/
SET client_encoding TO UTF8;
CREATE TABLE collate_test1 (

View File

@ -1,6 +1,7 @@
/*
* This test is for Linux/glibc systems and assumes that a full set of
* locales is installed. It must be run in a UTF-8 locale.
* locales is installed. It must be run in a database with UTF-8 encoding,
* because other encodings don't support all the characters used.
*/
SET client_encoding TO UTF8;