postgresql/src/pl/plpython
Heikki Linnakangas cfd9c87a54 Only treat Python Lists as array dimensions.
Instead of treating all python sequence types as array dimensions, except
for tuples and various kinds of strings, only treat Python lists as
dimensions. The PyBytes_Check() function used previously is only available
on Python 2.6 and newer, and it was a bit fiddly anyway. The list of
exceptions would require adjustment if Python got a new kind of a sequence
similar to bytes/unicodes/strings, so only checking for Lists seems more
future-proof. The documentation only mentioned using Lists, so this is
closer to what was documented, anyway.

This should fix the buildfarm failures on systems building with Python 2.5,
although I don't have Python 2.5 installed myself to test with.
2016-10-26 14:44:55 +03:00
..
expected Avoid using platform-dependent floats in test case. 2016-10-26 14:17:07 +03:00
po Translation updates 2016-08-08 11:08:00 -04:00
sql Avoid using platform-dependent floats in test case. 2016-10-26 14:17:07 +03:00
.gitignore PL/Python: Improve Python 3 regression test setup 2012-09-16 22:26:33 -04:00
generate-spiexceptions.pl Update copyright for 2016 2016-01-02 13:33:40 -05:00
Makefile Fix misplacement of submake-generated-headers prerequisites. 2016-10-01 13:35:13 -04:00
nls.mk Translation updates 2016-05-09 10:04:41 -04:00
plpy_cursorobject.c Give a hint, when [] is incorrectly used for a composite type in array. 2016-10-26 10:56:56 +03:00
plpy_cursorobject.h Fix memory leaks in PL/Python. 2015-11-05 13:52:40 -05:00
plpy_elog.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
plpy_elog.h Enhanced custom error in PLPythonu 2016-04-08 18:33:06 +03:00
plpy_exec.c Give a hint, when [] is incorrectly used for a composite type in array. 2016-10-26 10:56:56 +03:00
plpy_exec.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
plpy_main.c Add macros to make AllocSetContextCreate() calls simpler and safer. 2016-08-27 17:50:38 -04:00
plpy_main.h Fix memory leaks in PL/Python. 2015-11-05 13:52:40 -05:00
plpy_planobject.c Fix memory leaks in PL/Python. 2015-11-05 13:52:40 -05:00
plpy_planobject.h Fix memory leaks in PL/Python. 2015-11-05 13:52:40 -05:00
plpy_plpymodule.c Final pgindent + perltidy run for 9.6. 2016-08-15 13:42:51 -04:00
plpy_plpymodule.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
plpy_procedure.c Add macros to make AllocSetContextCreate() calls simpler and safer. 2016-08-27 17:50:38 -04:00
plpy_procedure.h Fix PL/Python for recursion and interleaved set-returning functions. 2016-04-05 14:51:19 -04:00
plpy_resultobject.c PL/Python: Add result object str handler 2013-02-03 00:31:01 -05:00
plpy_resultobject.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
plpy_spi.c Give a hint, when [] is incorrectly used for a composite type in array. 2016-10-26 10:56:56 +03:00
plpy_spi.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
plpy_subxactobject.c Fix memory leaks in PL/Python. 2015-11-05 13:52:40 -05:00
plpy_subxactobject.h add #includes to plpy_subxactobject.h to make it compile standalone 2012-08-28 16:13:41 -04:00
plpy_typeio.c Only treat Python Lists as array dimensions. 2016-10-26 14:44:55 +03:00
plpy_typeio.h Give a hint, when [] is incorrectly used for a composite type in array. 2016-10-26 10:56:56 +03:00
plpy_util.c Fix memory leaks in PL/Python. 2015-11-05 13:52:40 -05:00
plpy_util.h Fix memory leaks in PL/Python. 2015-11-05 13:52:40 -05:00
plpython.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
plpython2u--1.0.sql Put comments on the installable procedural languages. 2011-07-03 19:03:51 -04:00
plpython2u--unpackaged--1.0.sql Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpython2u.control Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpython3u--1.0.sql Put comments on the installable procedural languages. 2011-07-03 19:03:51 -04:00
plpython3u--unpackaged--1.0.sql Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpython3u.control Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpythonu--1.0.sql Put comments on the installable procedural languages. 2011-07-03 19:03:51 -04:00
plpythonu--unpackaged--1.0.sql Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
plpythonu.control Create extension infrastructure for the core procedural languages. 2011-03-04 21:51:14 -05:00
regress-python3-mangle.mk Fix hstore_plpython test when python3 is used. 2015-10-04 22:29:03 +02:00