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

Started by Peter Eisentrautalmost 17 years ago2 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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)

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#1)
Re: pgsql: PL/Python regression tests for data type handling Add some

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