pgsql: Make PL/Python tests more compatible with Python 3 This changes

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make PL/Python tests more compatible with Python 3 This changes
Date: 2009-08-24 20:25:25
Message-ID: 20090824202525.5881775331E@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/pl/plpython/expected:
plpython_error.out (r1.7 -> r1.8)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_error.out?r1=1.7&r2=1.8)
plpython_error_2.out (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_error_2.out?r1=1.2&r2=1.3)
plpython_global.out (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_global.out?r1=1.1&r2=1.2)
plpython_import.out (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_import.out?r1=1.1&r2=1.2)
plpython_setof.out (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_setof.out?r1=1.2&r2=1.3)
plpython_spi.out (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_spi.out?r1=1.1&r2=1.2)
plpython_test.out (r1.11 -> r1.12)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_test.out?r1=1.11&r2=1.12)
plpython_trigger.out (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_trigger.out?r1=1.2&r2=1.3)
pgsql/src/pl/plpython/sql:
plpython_error.sql (r1.4 -> r1.5)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_error.sql?r1=1.4&r2=1.5)
plpython_global.sql (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_global.sql?r1=1.1&r2=1.2)
plpython_import.sql (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_import.sql?r1=1.1&r2=1.2)
plpython_setof.sql (r1.4 -> r1.5)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_setof.sql?r1=1.4&r2=1.5)
plpython_spi.sql (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_spi.sql?r1=1.2&r2=1.3)
plpython_test.sql (r1.7 -> r1.8)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_test.sql?r1=1.7&r2=1.8)
plpython_trigger.sql (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_trigger.sql?r1=1.2&r2=1.3)

Browse pgsql-committers by date

  From Date Subject
Next Message User Gsmet 2009-08-24 20:53:47 pgfouine - pgfouine: added -maxquerylength option per request from Josh
Previous Message User Gsmet 2009-08-24 20:14:17 pgfouine - pgfouine: bumped version to a dev version