Add a CONTINUE statement to PL/PgSQL, which can be used to begin the
Neil Conway <neilc@samurai.com>
Add a CONTINUE statement to PL/PgSQL, which can be used to begin the next iteration of a loop. Update documentation and add regression tests. Patch from Pavel Stehule, reviewed by Neil Conway.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/plpgsql.sgml | modified | +76 −18 |
| src/pl/plpgsql/src/gram.y | modified | +23 −10 |
| src/pl/plpgsql/src/pl_exec.c | modified | +159 −45 |
| src/pl/plpgsql/src/pl_funcs.c | modified | +3 −2 |
| src/pl/plpgsql/src/plpgsql.h | modified | +7 −4 |
| src/pl/plpgsql/src/scan.l | modified | +2 −1 |
| src/test/regress/expected/plpgsql.out | modified | +137 −0 |
| src/test/regress/sql/plpgsql.sql | modified | +94 −0 |