mirror of
https://github.com/postgres/postgres.git
synced 2025-04-18 13:44:19 +03:00
Use specific collation where needed in new test
Oversight in commit a379061a22a8. Per Czech buildfarm members jay and hippopotamus.
This commit is contained in:
parent
8cfbdf8f4d
commit
17bcf4f545
@ -1367,7 +1367,7 @@ PREPARE get_nnconstraint_info(regclass[]) AS
|
|||||||
SELECT conrelid::regclass as tabname, conname, convalidated, conislocal, coninhcount
|
SELECT conrelid::regclass as tabname, conname, convalidated, conislocal, coninhcount
|
||||||
FROM pg_constraint
|
FROM pg_constraint
|
||||||
WHERE conrelid = ANY($1)
|
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);
|
CREATE TABLE notnull_tbl1 (a int, b int);
|
||||||
INSERT INTO notnull_tbl1 VALUES (NULL, 1), (300, 3);
|
INSERT INTO notnull_tbl1 VALUES (NULL, 1), (300, 3);
|
||||||
ALTER TABLE notnull_tbl1 ADD CONSTRAINT nn NOT NULL a; -- error
|
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
|
SELECT conrelid::regclass as tabname, conname, convalidated, conislocal, coninhcount
|
||||||
FROM pg_constraint
|
FROM pg_constraint
|
||||||
WHERE conrelid = ANY($1)
|
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);
|
CREATE TABLE notnull_tbl1 (a int, b int);
|
||||||
INSERT INTO notnull_tbl1 VALUES (NULL, 1), (300, 3);
|
INSERT INTO notnull_tbl1 VALUES (NULL, 1), (300, 3);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user