pgsql: PL/Python explicit subtransactions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: PL/Python explicit subtransactions
Дата
Msg-id E1Ptm6B-0002wW-8L@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Remove remaining expected file for Python 2.2
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Document that last vacuum statistics and counts are for non-FULL