PL/pgSQL: Simplify RETURN checking for procedures
Peter Eisentraut <peter_e@gmx.net>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpgsql/src/expected/plpgsql_call.out | modified | +3 −4 |
| src/pl/plpgsql/src/pl_exec.c | modified | +0 −5 |
| src/pl/plpgsql/src/pl_gram.y | modified | +13 −6 |
| src/pl/plpgsql/src/sql/plpgsql_call.sql | modified | +0 −3 |