PL/Python explicit subtransactions
Peter Eisentraut <peter_e@gmx.net>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/plpython.sgml | modified | +131 −1 |
| src/pl/plpython/expected/plpython_subtransaction_0.out | added | +366 −0 |
| src/pl/plpython/expected/plpython_subtransaction.out | added | +378 −0 |
| src/pl/plpython/expected/plpython_test.out | modified | +3 −3 |
| src/pl/plpython/expected/README | modified | +2 −0 |
| src/pl/plpython/Makefile | modified | +1 −0 |
| src/pl/plpython/plpython.c | modified | +279 −4 |
| src/pl/plpython/sql/plpython_subtransaction.sql | added | +244 −0 |