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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Give a more specific error message if you try to COMMIT, ROLLBAC
Date: 2010-10-29 08:45:28
Message-ID: E1PBkaW-00049U-HD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Itagaki 2010-10-29 08:46:08 textsearch-ja - textsearch_groonga: New Directory
Previous Message Andrew Dunstan 2010-10-29 00:49:50 pgsql: Allow generic record arguments to plperl functions