From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: PL/pgSQL: Simplify RETURN checking for procedures
Date: Sun, 04 Mar 2018 15:37:26 +0000
Message-ID: <E1esVhW-0008Ky-Ie@gemulon.postgresql.org> (raw)
PL/pgSQL: Simplify RETURN checking for procedures
Check at compile time that RETURN in a procedure does not specify a
parameter, rather than at run time.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f7c7f67fecc40170a2fad2d1cff24dd1ddd22d7f
Modified Files
--------------
src/pl/plpgsql/src/expected/plpgsql_call.out | 7 +++----
src/pl/plpgsql/src/pl_exec.c | 5 -----
src/pl/plpgsql/src/pl_gram.y | 19 +++++++++++++------
src/pl/plpgsql/src/sql/plpgsql_call.sql | 3 ---
4 files changed, 16 insertions(+), 18 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: PL/pgSQL: Simplify RETURN checking for procedures
In-Reply-To: <E1esVhW-0008Ky-Ie@gemulon.postgresql.org>
References: <E1esVhW-0008Ky-Ie@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