mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Remove unused argument of ATAddForeignConstraint
Commit 0325d7a5957b 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
This commit is contained in:
parent
6f70d7ca1d
commit
c250062df4
@ -477,7 +477,7 @@ static ObjectAddress ATAddCheckConstraint(List **wqueue,
|
|||||||
bool recurse, bool recursing, bool is_readd,
|
bool recurse, bool recursing, bool is_readd,
|
||||||
LOCKMODE lockmode);
|
LOCKMODE lockmode);
|
||||||
static ObjectAddress ATAddForeignKeyConstraint(List **wqueue, AlteredTableInfo *tab,
|
static ObjectAddress ATAddForeignKeyConstraint(List **wqueue, AlteredTableInfo *tab,
|
||||||
Relation rel, Constraint *fkconstraint, Oid parentConstr,
|
Relation rel, Constraint *fkconstraint,
|
||||||
bool recurse, bool recursing,
|
bool recurse, bool recursing,
|
||||||
LOCKMODE lockmode);
|
LOCKMODE lockmode);
|
||||||
static ObjectAddress addFkRecurseReferenced(List **wqueue, Constraint *fkconstraint,
|
static ObjectAddress addFkRecurseReferenced(List **wqueue, Constraint *fkconstraint,
|
||||||
@ -8620,7 +8620,7 @@ ATExecAddConstraint(List **wqueue, AlteredTableInfo *tab, Relation rel,
|
|||||||
NIL);
|
NIL);
|
||||||
|
|
||||||
address = ATAddForeignKeyConstraint(wqueue, tab, rel,
|
address = ATAddForeignKeyConstraint(wqueue, tab, rel,
|
||||||
newConstraint, InvalidOid,
|
newConstraint,
|
||||||
recurse, false,
|
recurse, false,
|
||||||
lockmode);
|
lockmode);
|
||||||
break;
|
break;
|
||||||
@ -8826,7 +8826,7 @@ ATAddCheckConstraint(List **wqueue, AlteredTableInfo *tab, Relation rel,
|
|||||||
*/
|
*/
|
||||||
static ObjectAddress
|
static ObjectAddress
|
||||||
ATAddForeignKeyConstraint(List **wqueue, AlteredTableInfo *tab, Relation rel,
|
ATAddForeignKeyConstraint(List **wqueue, AlteredTableInfo *tab, Relation rel,
|
||||||
Constraint *fkconstraint, Oid parentConstr,
|
Constraint *fkconstraint,
|
||||||
bool recurse, bool recursing, LOCKMODE lockmode)
|
bool recurse, bool recursing, LOCKMODE lockmode)
|
||||||
{
|
{
|
||||||
Relation pkrel;
|
Relation pkrel;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user