From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Support parameters in CALL |
Date: | 2018-02-23 03:09:37 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2018-02-23 14:04:06 | pgsql: Revise API for partition_rbound_cmp/partition_rbound_datum_cmp. |
Previous Message | Robert Haas | 2018-02-22 23:17:08 | pgsql: Remove extra words. |