mirror of
https://github.com/postgres/postgres.git
synced 2025-10-29 22:49:41 +03:00
Use class_args field in opclass_drop
This makes it consistent with the usage in opclass_item. Reviewed-by: Jim Nasby <Jim.Nasby@BlueTreble.com> Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
This commit is contained in:
@@ -5910,7 +5910,7 @@ opclass_drop:
|
||||
CreateOpClassItem *n = makeNode(CreateOpClassItem);
|
||||
n->itemtype = OPCLASS_ITEM_OPERATOR;
|
||||
n->number = $2;
|
||||
n->args = $4;
|
||||
n->class_args = $4;
|
||||
$$ = (Node *) n;
|
||||
}
|
||||
| FUNCTION Iconst '(' type_list ')'
|
||||
@@ -5918,7 +5918,7 @@ opclass_drop:
|
||||
CreateOpClassItem *n = makeNode(CreateOpClassItem);
|
||||
n->itemtype = OPCLASS_ITEM_FUNCTION;
|
||||
n->number = $2;
|
||||
n->args = $4;
|
||||
n->class_args = $4;
|
||||
$$ = (Node *) n;
|
||||
}
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user