Thread: pgsql: PL/Python regression tests for data type handling Add some

pgsql: PL/Python regression tests for data type handling Add some

From
petere@postgresql.org (Peter Eisentraut)
Date:
Log Message:
-----------
PL/Python regression tests for data type handling

Add some checks on various data types are converted into and out of Python.
This is extracted from Caleb Welton's patch for improved bytea support,
but much expanded.

Modified Files:
--------------
    pgsql/src/pl/plpython:
        Makefile (r1.33 -> r1.34)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/Makefile?r1=1.33&r2=1.34)

Added Files:
-----------
    pgsql/src/pl/plpython/expected:
        plpython_types.out (r1.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_types.out?rev=1.1&content-type=text/x-cvsweb-markup)
    pgsql/src/pl/plpython/sql:
        plpython_types.sql (r1.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/sql/plpython_types.sql?rev=1.1&content-type=text/x-cvsweb-markup)

Re: pgsql: PL/Python regression tests for data type handling Add some

From
Tom Lane
Date:
petere@postgresql.org (Peter Eisentraut) writes:
> PL/Python regression tests for data type handling

> Add some checks on various data types are converted into and out of Python.

Looks like you need some exp-three-digits variant expected files.
Or maybe get rid of the one test case that's causing buildfarm failures.

            regards, tom lane