summaryrefslogtreecommitdiff
path: root/src/include/nodes/parsenodes.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-02-20 18:03:31 -0500
committerPeter Eisentraut <peter_e@gmx.net>2018-02-22 21:36:48 -0500
commit76b6aa41f41db66004b1c430f17a546d4102fbe7 (patch)
tree3df4add677bd9cc44e9369d2311775a13e76e220 /src/include/nodes/parsenodes.h
parenta6a80134e3bffa0678a82ed7477d9d46dea07d3a (diff)
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.
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r--src/include/nodes/parsenodes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index c7a43b8933f..ac292bc6e7a 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -2814,7 +2814,8 @@ typedef struct InlineCodeBlock
typedef struct CallStmt
{
NodeTag type;
- FuncCall *funccall;
+ FuncCall *funccall; /* from the parser */
+ FuncExpr *funcexpr; /* transformed */
} CallStmt;
typedef struct CallContext