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: | E1ep3jt-0007H6-Gc@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | 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
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(-)
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. |