Commit ce1f5ed5 authored by Jan Wieck's avatar Jan Wieck

Fixed opr_sanity regression test to ignore the new

RI_FKey_... constrint triggers when looking for illegal
pg_proc entries.

Jan
parent ccecf1fa
...@@ -2,7 +2,8 @@ QUERY: SELECT p1.oid, p1.proname ...@@ -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 ...@@ -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).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment