[COMMITTERS] pgsql: Add a "subtransaction" command to PL/Tcl. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Add a "subtransaction" command to PL/Tcl.
Date
Msg-id E1cmmpJ-0004xN-Hi@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add a "subtransaction" command to PL/Tcl.

This allows rolling back the effects of some SPI commands without
having to fail the entire PL/Tcl function.

Victor Wagner, reviewed by Pavel Stehule

Discussion: https://postgr.es/m/20170108205750.2dab04a1@wagner.wagner.home

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b58fd4a9cab21e9d937a4e369bab31b3a5d24710

Modified Files
--------------
doc/src/sgml/pltcl.sgml               | 112 ++++++++++++++++++++++++--
src/pl/tcl/Makefile                   |   2 +-
src/pl/tcl/expected/pltcl_subxact.out | 143 ++++++++++++++++++++++++++++++++++
src/pl/tcl/pltcl.c                    |  53 +++++++++++++
src/pl/tcl/sql/pltcl_subxact.sql      |  95 ++++++++++++++++++++++
5 files changed, 398 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Improve postmaster's logging of listen socket creation.
Next
From: Joe Conway
Date:
Subject: [COMMITTERS] pgsql: Fix ancient connection leak in dblink