Allow MOVE FORWARD n, MOVE BACKWARD n, MOVE FORWARD ALL, MOVE BACKWARD ALL
Tom Lane <tgl@sss.pgh.pa.us>
Allow MOVE FORWARD n, MOVE BACKWARD n, MOVE FORWARD ALL, MOVE BACKWARD ALL in plpgsql. Clean up a couple of corner cases in the MOVE/FETCH syntax. Pavel Stehule
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/plpgsql.sgml | modified | +8 −5 |
| src/pl/plpgsql/src/gram.y | modified | +82 −9 |
| src/pl/plpgsql/src/pl_funcs.c | modified | +2 −2 |
| src/pl/plpgsql/src/plpgsql.h | modified | +3 −2 |
| src/pl/plpgsql/src/scan.l | modified | +2 −1 |
| src/test/regress/expected/plpgsql.out | modified | +44 −2 |
| src/test/regress/sql/plpgsql.sql | modified | +37 −2 |