]> granicus.if.org Git - postgresql/commit
In PL/PgSQL, allow a block's label to be optionally specified at the
authorNeil Conway <neilc@samurai.com>
Sat, 2 Jul 2005 08:59:48 +0000 (08:59 +0000)
committerNeil Conway <neilc@samurai.com>
Sat, 2 Jul 2005 08:59:48 +0000 (08:59 +0000)
commitc425dcb4ec9ac9aff9e241e0adcf309d2f419ba1
tree0f56275f049fca1f4d18e561cdfbf14288159ed5
parent784b948984a529991f86bbefd4013ef98f984996
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.
doc/src/sgml/plpgsql.sgml
src/pl/plpgsql/src/gram.y
src/test/regress/expected/plpgsql.out
src/test/regress/sql/plpgsql.sql