postgresql/src/pl/plpython/sql
Tom Lane 8b6010b835 Improve support for composite types in PL/Python.
Allow PL/Python functions to return arrays of composite types.
Also, fix the restriction that plpy.prepare/plpy.execute couldn't
handle query parameters or result columns of composite types.

In passing, adopt a saner arrangement for where to release the
tupledesc reference counts acquired via lookup_rowtype_tupdesc.
The callers of PLyObject_ToCompositeDatum were doing the lookups,
but then the releases happened somewhere down inside subroutines
of PLyObject_ToCompositeDatum, which is bizarre and bug-prone.
Instead release in the same function that acquires the refcount.

Ed Behn and Ronan Dunklau, reviewed by Abhijit Menon-Sen
2014-07-03 16:10:50 -04:00
..
plpython_composite.sql Improve support for composite types in PL/Python. 2014-07-03 16:10:50 -04:00
plpython_do.sql PL/Python: Adjust the regression tests for Python 3.4 2014-04-29 22:16:16 -04:00
plpython_drop.sql Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpython_error.sql Handle SPIErrors raised directly in PL/Python code. 2013-01-28 09:46:23 +02:00
plpython_global.sql Make PL/Python tests more compatible with Python 3 2009-08-24 20:25:25 +00:00
plpython_import.sql PL/Python: Adjust the regression tests for Python 3.3 2012-05-11 23:04:47 +03:00
plpython_newline.sql Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
plpython_params.sql PL/Python: Adjust the regression tests for Python 3.3 2012-05-11 23:04:47 +03:00
plpython_populate.sql Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
plpython_quote.sql Add PL/Python functions for quoting strings 2011-02-22 23:41:23 +02:00
plpython_record.sql PL/Python: Accept strings in functions returning composite types 2012-04-26 21:03:48 +03:00
plpython_schema.sql Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
plpython_setof.sql Add a regression test case for plpython function returning setof RECORD. 2013-12-11 17:22:55 -05:00
plpython_spi.sql Improve support for composite types in PL/Python. 2014-07-03 16:10:50 -04:00
plpython_subtransaction.sql plpython: Add SPI cursor support 2011-12-05 19:52:15 +02:00
plpython_test.sql Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpython_trigger.sql Fix plpython's handling of functions used as triggers on multiple tables. 2013-01-25 16:59:36 -05:00
plpython_types.sql Improve support for composite types in PL/Python. 2014-07-03 16:10:50 -04:00
plpython_unicode.sql Make plpython_unicode regression test work in more database encodings. 2014-06-03 12:01:54 -04:00
plpython_void.sql Split the plpython regression test into test cases arranged by topic, instead 2009-08-12 16:37:26 +00:00