In PL/PgSQL, allow a block's label to be optionally specified at the
Neil Conway <neilc@samurai.com>
In PL/PgSQL, allow a block's label to be optionally specified at the
end of the block:
<<label>>
begin
...
end label;
Similarly for loops. This is per PL/SQL. Update the documentation and
add regression tests. Patch from Pavel Stehule, code review by Neil
Conway.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/plpgsql.sgml | modified | +18 −17 |
| src/pl/plpgsql/src/gram.y | modified | +72 −32 |
| src/test/regress/expected/plpgsql.out | modified | +57 −2 |
| src/test/regress/sql/plpgsql.sql | modified | +50 −2 |