mirror of
https://github.com/postgres/postgres.git
synced 2025-12-04 12:02:48 +03:00
Use specific collation where needed in new test
Oversight in commit a379061a22.
Per Czech buildfarm members jay and hippopotamus.
This commit is contained in:
@@ -1367,7 +1367,7 @@ PREPARE get_nnconstraint_info(regclass[]) AS
|
||||
SELECT conrelid::regclass as tabname, conname, convalidated, conislocal, coninhcount
|
||||
FROM pg_constraint
|
||||
WHERE conrelid = ANY($1)
|
||||
ORDER BY conrelid::regclass::text, conname;
|
||||
ORDER BY conrelid::regclass::text COLLATE "C", conname;
|
||||
CREATE TABLE notnull_tbl1 (a int, b int);
|
||||
INSERT INTO notnull_tbl1 VALUES (NULL, 1), (300, 3);
|
||||
ALTER TABLE notnull_tbl1 ADD CONSTRAINT nn NOT NULL a; -- error
|
||||
|
||||
@@ -812,7 +812,7 @@ PREPARE get_nnconstraint_info(regclass[]) AS
|
||||
SELECT conrelid::regclass as tabname, conname, convalidated, conislocal, coninhcount
|
||||
FROM pg_constraint
|
||||
WHERE conrelid = ANY($1)
|
||||
ORDER BY conrelid::regclass::text, conname;
|
||||
ORDER BY conrelid::regclass::text COLLATE "C", conname;
|
||||
|
||||
CREATE TABLE notnull_tbl1 (a int, b int);
|
||||
INSERT INTO notnull_tbl1 VALUES (NULL, 1), (300, 3);
|
||||
|
||||
Reference in New Issue
Block a user