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.
Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/76b6aa41f41db66004b1c430f17a546d4102fbe7 Modified Files -------------- src/backend/commands/functioncmds.c | 25 +++----------- src/backend/nodes/copyfuncs.c | 1 + src/backend/nodes/equalfuncs.c | 1 + src/backend/parser/analyze.c | 45 ++++++++++++++++++++++++++ src/backend/tcop/utility.c | 2 +- src/include/commands/defrem.h | 3 +- src/include/nodes/parsenodes.h | 3 +- src/pl/plpgsql/src/expected/plpgsql_call.out | 19 +++++++++++ src/pl/plpgsql/src/sql/plpgsql_call.sql | 18 +++++++++++ src/test/regress/expected/create_procedure.out | 16 +++++++++ src/test/regress/sql/create_procedure.sql | 15 +++++++++ 11 files changed, 124 insertions(+), 24 deletions(-)