postgresql/src/pl/plpython/sql
Peter Eisentraut a97207b690 PL/Python: Fix slicing support for result objects for Python 3
The old way of implementing slicing support by implementing
PySequenceMethods.sq_slice no longer works in Python 3.  You now have
to implement PyMappingMethods.mp_subscript.  Do this by simply
proxying the call to the wrapped list of result dictionaries.
Consolidate some of the subscripting regression tests.

Jan Urbański
2012-05-10 20:40:30 +03:00
..
plpython_composite.sql Table function support for PL/Python 2011-02-26 16:53:11 +02:00
plpython_do.sql PL/Python: Improve test coverage 2012-05-02 21:09:03 +03:00
plpython_drop.sql Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpython_error.sql Preserve SQLSTATE when an SPI error is propagated through PL/python 2011-11-24 17:18:43 +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 Make PL/Python tests more compatible with Python 3 2009-08-24 20:25:25 +00:00
plpython_newline.sql Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02: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 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 PL/Python: Fix crash in functions returning SETOF and using SPI 2012-05-02 20:59:51 +03:00
plpython_spi.sql PL/Python: Fix slicing support for result objects for Python 3 2012-05-10 20:40:30 +03: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 PL/Python: Accept strings in functions returning composite types 2012-04-26 21:03:48 +03:00
plpython_types.sql Invalidate PL/Python functions with composite type argument when the 2011-02-19 16:56:02 +02:00
plpython_unicode.sql Set client encoding explicitly in plpython_unicode test 2011-04-16 21:53:43 +03:00
plpython_void.sql Split the plpython regression test into test cases arranged by topic, instead 2009-08-12 16:37:26 +00:00