pgsql: While fixing plperl and pltcl, I realized plpgsql wasn't doing

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: While fixing plperl and pltcl, I realized plpgsql wasn't doing
Date: 2004-11-21 22:27:36
Message-ID: 20041121222736.169E73A4014@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
While fixing plperl and pltcl, I realized plpgsql wasn't doing
subtransactions quite right either: the ReleaseCurrentSubTransaction
call should occur inside the PG_TRY, so that the proper path is taken
if an error occurs during subtransaction commit. This assumes that
AbortSubTransaction can cope with the state left behind if
CommitSubTransaction fails partway through, but we were already
requiring that.

Modified Files:
--------------
pgsql/src/pl/plpgsql/src:
pl_exec.c (r1.121 -> r1.122)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_exec.c.diff?r1=1.121&r2=1.122)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-11-21 22:48:03 pgsql: Reduce the default size of the PortalHashTable in order to save a
Previous Message Tom Lane 2004-11-21 22:13:40 pgsql: Suppress remaining compile warnings, and add a comment about why