]> granicus.if.org Git - postgresql/commit
PL/Python explicit subtransactions
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 27 Feb 2011 15:09:56 +0000 (17:09 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 27 Feb 2011 19:15:35 +0000 (21:15 +0200)
commit22690719ea5a89ccbcd04deb58c83d8d5f138df8
treeda9e49d59849631b4af9536cb414e31a825cb571
parent438cdf6e4893311df4e94dc55b961a691908a530
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
doc/src/sgml/plpython.sgml
src/pl/plpython/Makefile
src/pl/plpython/expected/README
src/pl/plpython/expected/plpython_subtransaction.out [new file with mode: 0644]
src/pl/plpython/expected/plpython_subtransaction_0.out [new file with mode: 0644]
src/pl/plpython/expected/plpython_test.out
src/pl/plpython/plpython.c
src/pl/plpython/sql/plpython_subtransaction.sql [new file with mode: 0644]