]> granicus.if.org Git - postgresql/commit
Make PL/Python tests more compatible with Python 3
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 24 Aug 2009 20:25:25 +0000 (20:25 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 24 Aug 2009 20:25:25 +0000 (20:25 +0000)
commit5dff93638c4443d3afba017f64c9ade69e0fbd3b
treef3d9c7456f569a2b68dc7e3227485d15c0d358dc
parent8bed238c871fae205c5c6615f3b9ab8a039359e2
Make PL/Python tests more compatible with Python 3

This changes a bunch of incidentially used constructs in the PL/Python
regression tests to equivalent constructs in cases where Python 3 no longer
supports the old syntax.  Support for older Python versions is unchanged.
15 files changed:
src/pl/plpython/expected/plpython_error.out
src/pl/plpython/expected/plpython_error_2.out
src/pl/plpython/expected/plpython_global.out
src/pl/plpython/expected/plpython_import.out
src/pl/plpython/expected/plpython_setof.out
src/pl/plpython/expected/plpython_spi.out
src/pl/plpython/expected/plpython_test.out
src/pl/plpython/expected/plpython_trigger.out
src/pl/plpython/sql/plpython_error.sql
src/pl/plpython/sql/plpython_global.sql
src/pl/plpython/sql/plpython_import.sql
src/pl/plpython/sql/plpython_setof.sql
src/pl/plpython/sql/plpython_spi.sql
src/pl/plpython/sql/plpython_test.sql
src/pl/plpython/sql/plpython_trigger.sql