Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce1f5ed

Browse files
Jan WieckJan Wieck
Jan Wieck
authored and
Jan Wieck
committed
Fixed opr_sanity regression test to ignore the new
RI_FKey_... constrint triggers when looking for illegalpg_proc entries.Jan
1 parentccecf1f commitce1f5ed

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_procas p1
2828
WHERE (p1.prolang=0ORp1.prorettype=0OR
2929
p1.pronargs<0ORp1.pronargs>9)
30-
ANDp1.proname !~'^pl[^_]+_call_handler$';
30+
ANDp1.proname !~'^pl[^_]+_call_handler$'
31+
ANDp1.proname !~'^RI_FKey_';
3132

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp