Skip to content

Commit ce1f5ed

Browse files
Jan WieckJan Wieck
authored andcommitted
Fixed opr_sanity regression test to ignore the new
RI_FKey_... constrint triggers when looking for illegal pg_proc entries. Jan
1 parent ccecf1f commit ce1f5ed

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/test/regress/expected/opr_sanity.out

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ QUERY: SELECT p1.oid, p1.proname
22
FROM pg_proc as p1
33
WHERE (p1.prolang = 0 OR p1.prorettype = 0 OR
44
p1.pronargs < 0 OR p1.pronargs > 9)
5-
AND p1.proname !~ '^pl[^_]+_call_handler$';
5+
AND p1.proname !~ '^pl[^_]+_call_handler$'
6+
AND p1.proname !~ '^RI_FKey_';
67
oid|proname
78
---+-------
89
(0 rows)

src/test/regress/sql/opr_sanity.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ SELECT p1.oid, p1.proname
2727
FROM pg_proc as p1
2828
WHERE (p1.prolang = 0 OR p1.prorettype = 0 OR
2929
p1.pronargs < 0 OR p1.pronargs > 9)
30-
AND p1.proname !~ '^pl[^_]+_call_handler$';
30+
AND p1.proname !~ '^pl[^_]+_call_handler$'
31+
AND p1.proname !~ '^RI_FKey_';
3132

3233
-- Look for conflicting proc definitions (same names and input datatypes).
3334

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy