Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1abd146

Browse files
committed
Adjust comments about collate.linux.utf8 regression test.
This test should now work in any database with UTF8 encoding, regardlessof the database's default locale. The former restriction was really"doesn't work if default locale is C", and that was because of not handlingmbstowcs/wcstombs correctly.
1 parent2ab0796 commit1abd146

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

‎doc/src/sgml/regress.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ gmake check EXTRA_TESTS=numeric_big
254254
gmake check EXTRA_TESTS=collate.linux.utf8 LANG=en_US.utf8
255255
</screen>
256256
The <literal>collate.linux.utf8</> test works only on Linux/glibc
257-
platforms, and only when run in alocale that uses UTF-8 encoding.
257+
platforms, and only when run in adatabase that uses UTF-8 encoding.
258258
</para>
259259
</sect2>
260260
</sect1>

‎src/test/regress/expected/collate.linux.utf8.out

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*
22
* This test is for Linux/glibc systems and assumes that a full set of
3-
* locales is installed. It must be run in a UTF-8 locale.
3+
* locales is installed. It must be run in a database with UTF-8 encoding,
4+
* because other encodings don't support all the characters used.
45
*/
56
SET client_encoding TO UTF8;
67
CREATE TABLE collate_test1 (

‎src/test/regress/sql/collate.linux.utf8.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*
22
* This test is for Linux/glibc systems and assumes that a full set of
3-
* locales is installed. It must be run in a UTF-8 locale.
3+
* locales is installed. It must be run in a database with UTF-8 encoding,
4+
* because other encodings don't support all the characters used.
45
*/
56

67
SET client_encoding TO UTF8;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp