This patch makes a minor cleanup to the implementation of PERFORM in
Bruce Momjian <bruce@momjian.us>
This patch makes a minor cleanup to the implementation of PERFORM in PL/PgSQL. Previously, it had been bundled together with the assign statement implementation, for some reason that wasn't clear to me (they certainly don't share any code with one another). So I separated them and made PERFORM a statement like any other. No changes in functionality. Along the way, I added some regression tests for PERFORM, added a bunch more SGML tags to the PL/PgSQL docs, and removed an obsolete comment relating to the implementation of RETURN NEXT. Neil Conway
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/plpgsql.sgml | modified | +109 −101 |
| src/pl/plpgsql/src/gram.y | modified | +5 −6 |
| src/pl/plpgsql/src/pl_exec.c | modified | +39 −35 |
| src/pl/plpgsql/src/plpgsql.h | modified | +9 −2 |
| src/test/regress/expected/plpgsql.out | modified | +51 −0 |
| src/test/regress/sql/plpgsql.sql | modified | +45 −0 |