Fixed opr_sanity regression test to ignore the new
RI_FKey_... constrint triggers when looking for illegal pg_proc entries. Jan
This commit is contained in:
parent
ccecf1fa46
commit
ce1f5ed547
@ -2,7 +2,8 @@ QUERY: SELECT p1.oid, p1.proname
|
|||||||
FROM pg_proc as p1
|
FROM pg_proc as p1
|
||||||
WHERE (p1.prolang = 0 OR p1.prorettype = 0 OR
|
WHERE (p1.prolang = 0 OR p1.prorettype = 0 OR
|
||||||
p1.pronargs < 0 OR p1.pronargs > 9)
|
p1.pronargs < 0 OR p1.pronargs > 9)
|
||||||
AND p1.proname !~ '^pl[^_]+_call_handler$';
|
AND p1.proname !~ '^pl[^_]+_call_handler$'
|
||||||
|
AND p1.proname !~ '^RI_FKey_';
|
||||||
oid|proname
|
oid|proname
|
||||||
---+-------
|
---+-------
|
||||||
(0 rows)
|
(0 rows)
|
||||||
|
@ -27,7 +27,8 @@ SELECT p1.oid, p1.proname
|
|||||||
FROM pg_proc as p1
|
FROM pg_proc as p1
|
||||||
WHERE (p1.prolang = 0 OR p1.prorettype = 0 OR
|
WHERE (p1.prolang = 0 OR p1.prorettype = 0 OR
|
||||||
p1.pronargs < 0 OR p1.pronargs > 9)
|
p1.pronargs < 0 OR p1.pronargs > 9)
|
||||||
AND p1.proname !~ '^pl[^_]+_call_handler$';
|
AND p1.proname !~ '^pl[^_]+_call_handler$'
|
||||||
|
AND p1.proname !~ '^RI_FKey_';
|
||||||
|
|
||||||
-- Look for conflicting proc definitions (same names and input datatypes).
|
-- Look for conflicting proc definitions (same names and input datatypes).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user