From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Support parameters in CALL
Date: Fri, 23 Feb 2018 03:09:37 +0000
Message-ID: <E1ep3jt-0007H6-Gc@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: Support parameters in CALL
In-Reply-To: <E1ep3jt-0007H6-Gc@gemulon.postgresql.org>
References: <E1ep3jt-0007H6-Gc@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox