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

Commit17bcf4f

Browse files
committed
Use specific collation where needed in new test
Oversight in commita379061.Per Czech buildfarm members jay and hippopotamus.
1 parent8cfbdf8 commit17bcf4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ PREPARE get_nnconstraint_info(regclass[]) AS
13671367
SELECT conrelid::regclass as tabname, conname, convalidated, conislocal, coninhcount
13681368
FROM pg_constraint
13691369
WHERE conrelid = ANY($1)
1370-
ORDER BY conrelid::regclass::text, conname;
1370+
ORDER BY conrelid::regclass::text COLLATE "C", conname;
13711371
CREATE TABLE notnull_tbl1 (a int, b int);
13721372
INSERT INTO notnull_tbl1 VALUES (NULL, 1), (300, 3);
13731373
ALTER TABLE notnull_tbl1 ADD CONSTRAINT nn NOT NULL a; -- error

‎src/test/regress/sql/constraints.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ PREPARE get_nnconstraint_info(regclass[]) AS
812812
SELECT conrelid::regclassas tabname, conname, convalidated, conislocal, coninhcount
813813
FROM pg_constraint
814814
WHERE conrelid= ANY($1)
815-
ORDER BY conrelid::regclass::text, conname;
815+
ORDER BY conrelid::regclass::text COLLATE"C", conname;
816816

817817
CREATETABLEnotnull_tbl1 (aint, bint);
818818
INSERT INTO notnull_tbl1VALUES (NULL,1), (300,3);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp