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

Commit3e623eb

Browse files
committed
Fix tests for non-ICU build
missed in0d21d4b
1 parent0d21d4b commit3e623eb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44
/* skip test if not UTF8 server encoding or no ICU collations installed */
55
SELECT getdatabaseencoding() <> 'UTF8' OR
6-
(SELECT count(*) FROM pg_collation WHERE collprovider = 'i') = 0
6+
(SELECT count(*) FROM pg_collation WHERE collprovider = 'i' AND collname <> 'unicode') = 0
77
AS skip_test \gset
88
\if :skip_test
99
\quit

‎src/test/regress/expected/collate.icu.utf8_1.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44
/* skip test if not UTF8 server encoding or no ICU collations installed */
55
SELECT getdatabaseencoding() <> 'UTF8' OR
6-
(SELECT count(*) FROM pg_collation WHERE collprovider = 'i') = 0
6+
(SELECT count(*) FROM pg_collation WHERE collprovider = 'i' AND collname <> 'unicode') = 0
77
AS skip_test \gset
88
\if :skip_test
99
\quit

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/* skip test if not UTF8 server encoding or no ICU collations installed*/
66
SELECT getdatabaseencoding()<>'UTF8'OR
7-
(SELECTcount(*)FROM pg_collationWHERE collprovider='i')=0
7+
(SELECTcount(*)FROM pg_collationWHERE collprovider='i'AND collname<>'unicode')=0
88
AS skip_test \gset
99
\if :skip_test
1010
\quit

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp