From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: PL/Python explicit subtransactions |
Date: | 2011-02-27 19:16:07 |
Message-ID: | E1Ptm6B-0002wW-8L@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2011-02-27 21:25:57 | Re: [COMMITTERS] pgsql: Refactor the executor's API to support data-modifying CTEs bette |
Previous Message | Tom Lane | 2011-02-27 18:44:32 | pgsql: Refactor the executor's API to support data-modifying CTEs bette |