From ce1f5ed5472d6fb3878cfc0ee5026a3764c25b57 Mon Sep 17 00:00:00 2001 From: Jan Wieck <JanWieck@Yahoo.com> Date: Thu, 30 Sep 1999 15:28:34 +0000 Subject: [PATCH] Fixed opr_sanity regression test to ignore the new RI_FKey_... constrint triggers when looking for illegal pg_proc entries. Jan --- src/test/regress/expected/opr_sanity.out | 3 ++- src/test/regress/sql/opr_sanity.sql | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/regress/expected/opr_sanity.out b/src/test/regress/expected/opr_sanity.out index e8ce7df9727..96253c77511 100644 --- a/src/test/regress/expected/opr_sanity.out +++ b/src/test/regress/expected/opr_sanity.out @@ -2,7 +2,8 @@ QUERY: SELECT p1.oid, p1.proname FROM pg_proc as p1 WHERE (p1.prolang = 0 OR p1.prorettype = 0 OR 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 ---+------- (0 rows) diff --git a/src/test/regress/sql/opr_sanity.sql b/src/test/regress/sql/opr_sanity.sql index 454820930fb..8cfc8505d86 100644 --- a/src/test/regress/sql/opr_sanity.sql +++ b/src/test/regress/sql/opr_sanity.sql @@ -27,7 +27,8 @@ SELECT p1.oid, p1.proname FROM pg_proc as p1 WHERE (p1.prolang = 0 OR p1.prorettype = 0 OR 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). -- GitLab