Re: Explicit subtransactions for PL/Tcl
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Victor Wagner <vitus@wagner.pp.ru>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2017-01-08T18:36:34Z
Lists: pgsql-hackers
Victor Wagner <vitus@wagner.pp.ru> writes: > I'm attaching the patch which implements subtransaction command for > PL/Tcl which does almost same as PL/Python plpy.subtransction context > manager object does: executes a block of Tcl code in the context of > subtransaction, rolls subtransaction back if error occures and commits > it otherwise. Interesting. Please add this to the 2017-03 commitfest list, to make sure we don't lose track of it. regards, tom lane
Commits
-
Add a "subtransaction" command to PL/Tcl.
- b58fd4a9cab2 10.0 landed