pgsql: PL/Python: Refactor subtransaction handling

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: PL/Python: Refactor subtransaction handling
Date: 2011-12-15 14:55:34
Message-ID: E1RbCic-0006Iz-Qi@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

PL/Python: Refactor subtransaction handling

Lots of repetitive code was moved into new functions
PLy_spi_subtransaction_{begin,commit,abort}.

Jan Urbański

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/fc9959701b57d11d08a4a8a0788ccbd887ee2e47

Modified Files
--------------
src/pl/plpython/plpython.c | 399 ++++++++++++--------------------------------
1 files changed, 111 insertions(+), 288 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-12-15 23:22:43 pgsql: Fix typo.
Previous Message Andrew Dunstan 2011-12-15 00:17:43 Re: pgsql: Disable excessive FP optimization by recent versions of gcc.