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/[email protected] 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(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
