mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Update oidjoins regression test for v11.
Commit 86f575948
already manually updated the oidjoins test for the
new pg_constraint.conparentid => pg_constraint.oid relationship, but
failed to update findoidjoins/README, thus the apparent inconsistency
here.
Michael Paquier
Discussion: https://postgr.es/m/20180507001811.GA27389@paquier.xyz
This commit is contained in:
@ -761,6 +761,14 @@ WHERE partrelid != 0 AND
|
||||
------+-----------
|
||||
(0 rows)
|
||||
|
||||
SELECT ctid, partdefid
|
||||
FROM pg_catalog.pg_partitioned_table fk
|
||||
WHERE partdefid != 0 AND
|
||||
NOT EXISTS(SELECT 1 FROM pg_catalog.pg_class pk WHERE pk.oid = fk.partdefid);
|
||||
ctid | partdefid
|
||||
------+-----------
|
||||
(0 rows)
|
||||
|
||||
SELECT ctid, polrelid
|
||||
FROM pg_catalog.pg_policy fk
|
||||
WHERE polrelid != 0 AND
|
||||
|
@ -381,6 +381,10 @@ SELECT ctid, partrelid
|
||||
FROM pg_catalog.pg_partitioned_table fk
|
||||
WHERE partrelid != 0 AND
|
||||
NOT EXISTS(SELECT 1 FROM pg_catalog.pg_class pk WHERE pk.oid = fk.partrelid);
|
||||
SELECT ctid, partdefid
|
||||
FROM pg_catalog.pg_partitioned_table fk
|
||||
WHERE partdefid != 0 AND
|
||||
NOT EXISTS(SELECT 1 FROM pg_catalog.pg_class pk WHERE pk.oid = fk.partdefid);
|
||||
SELECT ctid, polrelid
|
||||
FROM pg_catalog.pg_policy fk
|
||||
WHERE polrelid != 0 AND
|
||||
|
Reference in New Issue
Block a user