]> granicus.if.org Git - postgresql/commit
PL/pgSQL: Simplify RETURN checking for procedures
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 4 Mar 2018 15:35:23 +0000 (10:35 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 4 Mar 2018 15:35:23 +0000 (10:35 -0500)
commitf7c7f67fecc40170a2fad2d1cff24dd1ddd22d7f
tree6ab7329bf787f326bd4ba789d91e948701dce1f1
parent58d9acc18d38899ebc30812b4984778c7069f42c
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.
src/pl/plpgsql/src/expected/plpgsql_call.out
src/pl/plpgsql/src/pl_exec.c
src/pl/plpgsql/src/pl_gram.y
src/pl/plpgsql/src/sql/plpgsql_call.sql