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

Commitc250062

Browse files
committed
Remove unused argument of ATAddForeignConstraint
Commit0325d7a made this unused but forgot to remove it. Do so now.Author: Amit Langote <amitlangote09@gmail.com>Discussion:https://postgr.es/m/209c99fe-b9a2-94f4-cd68-a8304186a09e@lab.ntt.co.jp
1 parent6f70d7c commitc250062

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/commands/tablecmds.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ static ObjectAddress ATAddCheckConstraint(List **wqueue,
477477
bool recurse, bool recursing, bool is_readd,
478478
LOCKMODE lockmode);
479479
static ObjectAddress ATAddForeignKeyConstraint(List **wqueue, AlteredTableInfo *tab,
480-
Relation rel, Constraint *fkconstraint, Oid parentConstr,
480+
Relation rel, Constraint *fkconstraint,
481481
bool recurse, bool recursing,
482482
LOCKMODE lockmode);
483483
static ObjectAddress addFkRecurseReferenced(List **wqueue, Constraint *fkconstraint,
@@ -8620,7 +8620,7 @@ ATExecAddConstraint(List **wqueue, AlteredTableInfo *tab, Relation rel,
86208620
NIL);
86218621

86228622
address = ATAddForeignKeyConstraint(wqueue, tab, rel,
8623-
newConstraint, InvalidOid,
8623+
newConstraint,
86248624
recurse, false,
86258625
lockmode);
86268626
break;
@@ -8826,7 +8826,7 @@ ATAddCheckConstraint(List **wqueue, AlteredTableInfo *tab, Relation rel,
88268826
*/
88278827
static ObjectAddress
88288828
ATAddForeignKeyConstraint(List **wqueue, AlteredTableInfo *tab, Relation rel,
8829-
Constraint *fkconstraint, Oid parentConstr,
8829+
Constraint *fkconstraint,
88308830
bool recurse, bool recursing, LOCKMODE lockmode)
88318831
{
88328832
Relationpkrel;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp