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

Commit32ca22b

Browse files
committed
Revert test case added by commit1e165d0.
The buildfarm is still showing at least three distinct behaviors fora bad locale name in CREATE COLLATION. Although this test was helpfulfor getting the error reporting code into some usable shape, it doesn'tseem worth carrying multiple expected-files in order to support thetest in perpetuity. So pull it back out.Discussion:https://postgr.es/m/CAKKotZS-wcDcofXDCH=sidiuajE+nqHn2CGjLLX78anyDmi3gQ@mail.gmail.com
1 parent514f613 commit32ca22b

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,9 +627,6 @@ CREATE COLLATION mycoll1 FROM "C";
627627
CREATE COLLATION mycoll2 ( LC_COLLATE = "POSIX", LC_CTYPE = "POSIX" );
628628
CREATE COLLATION mycoll3 FROM "default"; -- intentionally unsupported
629629
ERROR: collation "default" cannot be copied
630-
CREATE COLLATION mycoll4 ( LOCALE = "no_such_locale" ); -- fail
631-
ERROR: could not create locale "no_such_locale": No such file or directory
632-
DETAIL: The operating system could not find any locale data for the locale name "no_such_locale".
633630
DROP COLLATION mycoll1;
634631
CREATE TABLE collate_test23 (f1 text collate mycoll2);
635632
DROP COLLATION mycoll2; -- fail

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ EXPLAIN (COSTS OFF)
234234
CREATE COLLATION mycoll1FROM"C";
235235
CREATE COLLATION mycoll2 ( LC_COLLATE="POSIX", LC_CTYPE="POSIX" );
236236
CREATE COLLATION mycoll3FROM"default";-- intentionally unsupported
237-
CREATE COLLATION mycoll4 ( LOCALE="no_such_locale" );-- fail
238237

239238
DROP COLLATION mycoll1;
240239
CREATETABLEcollate_test23 (f1text collate mycoll2);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp