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(-)
