pgsql: PL/Python explicit subtransactions - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: PL/Python explicit subtransactions
Date
Msg-id E1Ptm6B-0002wW-8L@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
PL/Python explicit subtransactions

Adds a context manager, obtainable by plpy.subtransaction(), to run a
group of statements in a subtransaction.

Jan Urbański, reviewed by Steve Singer, additional scribbling by me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/22690719ea5a89ccbcd04deb58c83d8d5f138df8

Modified Files
--------------
doc/src/sgml/plpython.sgml                         |  132 +++++++-
src/pl/plpython/Makefile                           |    1 +
src/pl/plpython/expected/README                    |    2 +
.../plpython/expected/plpython_subtransaction.out  |  378 ++++++++++++++++++++
.../expected/plpython_subtransaction_0.out         |  366 +++++++++++++++++++
src/pl/plpython/expected/plpython_test.out         |    6 +-
src/pl/plpython/plpython.c                         |  283 +++++++++++++++-
src/pl/plpython/sql/plpython_subtransaction.sql    |  244 +++++++++++++
8 files changed, 1404 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Remove remaining expected file for Python 2.2
Next
From: Bruce Momjian
Date:
Subject: pgsql: Document that last vacuum statistics and counts are for non-FULL