mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Support parameters in CALL
To support parameters in CALL, move the parse analysis of the procedure and arguments into the global transformation phase, so that the parser hooks can be applied. And then at execution time pass the parameters from ProcessUtility on to ExecuteCallStmt.
This commit is contained in:
@ -3231,6 +3231,7 @@ _copyCallStmt(const CallStmt *from)
|
||||
CallStmt *newnode = makeNode(CallStmt);
|
||||
|
||||
COPY_NODE_FIELD(funccall);
|
||||
COPY_NODE_FIELD(funcexpr);
|
||||
|
||||
return newnode;
|
||||
}
|
||||
|
Reference in New Issue
Block a user