postgresql/src/pl/plpython/sql
Tom Lane e086197aaa Fix aboriginal mistake in plpython's set-returning-function support.
We must stay in the function's SPI context until done calling the iterator
that returns the set result.  Otherwise, any attempt to invoke SPI features
in the python code called by the iterator will malfunction.  Diagnosis and
patch by Jan Urbanski, per bug report from Jean-Baptiste Quenot.

Back-patch to 8.2; there was no support for SRFs in previous versions of
plpython.
2010-11-15 14:27:00 -05:00
..
plpython_do.sql PL/Python DO handler 2010-01-22 15:45:15 +00:00
plpython_drop.sql Convert the existing regression test scripts for the various optional 2005-05-14 17:55:22 +00:00
plpython_error.sql Make PL/Python tests more compatible with Python 3 2009-08-24 20:25:25 +00:00
plpython_global.sql Make PL/Python tests more compatible with Python 3 2009-08-24 20:25:25 +00:00
plpython_import.sql Make PL/Python tests more compatible with Python 3 2009-08-24 20:25:25 +00:00
plpython_newline.sql Split the plpython regression test into test cases arranged by topic, instead 2009-08-12 16:37:26 +00:00
plpython_params.sql Augment test coverage in PL/Python, especially for error conditions. 2009-08-13 20:50:05 +00:00
plpython_populate.sql Convert the existing regression test scripts for the various optional 2005-05-14 17:55:22 +00:00
plpython_record.sql Augment test coverage in PL/Python, especially for error conditions. 2009-08-13 20:50:05 +00:00
plpython_schema.sql Augment test coverage in PL/Python, especially for error conditions. 2009-08-13 20:50:05 +00:00
plpython_setof.sql Fix aboriginal mistake in plpython's set-returning-function support. 2010-11-15 14:27:00 -05:00
plpython_spi.sql Use generic attribute management in PL/Python 2009-08-25 08:14:42 +00:00
plpython_test.sql Python 3 support in PL/Python 2009-12-15 22:59:55 +00:00
plpython_trigger.sql Fix plpython so that it again honors typmod while assigning to tuple fields. 2010-10-11 22:16:46 -04:00
plpython_types.sql Add a regression test case for bug #5497 2010-06-12 06:05:20 +00:00
plpython_unicode.sql Add Unicode support in PL/Python 2009-09-12 22:13:12 +00:00
plpython_void.sql Split the plpython regression test into test cases arranged by topic, instead 2009-08-12 16:37:26 +00:00