Files
postgresql/src/pl/plpython/expected
Peter Eisentraut 056a5a3f63 Allow committing inside cursor loop
Previously, committing or aborting inside a cursor loop was prohibited
because that would close and remove the cursor.  To allow that,
automatically convert such cursors to holdable cursors so they survive
commits or rollbacks.  Portals now have a new state "auto-held", which
means they have been converted automatically from pinned.  An auto-held
portal is kept on transaction commit or rollback, but is still removed
when returning to the main loop on error.

This supports all languages that have cursor loop constructs: PL/pgSQL,
PL/Python, PL/Perl.

Reviewed-by: Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>
2018-03-28 19:03:26 -04:00
..
2017-05-25 14:41:43 -04:00

Guide to alternative expected files:

plpython_error_0.out			Python 2.4 and older
plpython_error_5.out			Python 3.5 and newer

plpython_unicode.out			server encoding != SQL_ASCII
plpython_unicode_3.out			server encoding == SQL_ASCII

plpython_subtransaction_0.out	Python 2.4 and older (without with statement)
plpython_subtransaction_5.out	Python 2.5 (without with statement)

plpython_types_3.out			Python 3.x