mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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:
@ -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 (
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user