Thread: pgsql: Give a more specific error message if you try to COMMIT, ROLLBAC

pgsql: Give a more specific error message if you try to COMMIT, ROLLBAC

From
Heikki Linnakangas
Date:
Give a more specific error message if you try to COMMIT, ROLLBACK or COPY
FROM STDIN in PL/pgSQL. We alread did this for dynamic EXECUTE statements,
ie. "EXECUTE 'COMMIT'", but not otherwise.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=f184de351d6a35355aa8f1c1b655c3f6a5087205

Modified Files
--------------
src/pl/plpgsql/src/pl_exec.c |   11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)