pgsql: PL/Python: Improve test coverage - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: PL/Python: Improve test coverage
Date
Msg-id E1SPe2V-00064u-3Q@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
PL/Python: Improve test coverage

Add test cases for inline handler of plython2u (when using that
language name), and for result object element assignment.  There is
now at least one test case for every top-level functionality, except
plpy.Fatal (annoying to use in regression tests) and result object
slice retrieval and slice assignment (which are somewhat broken).

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e6c2e8cb87846161033e1f215876c4b95f631df0

Modified Files
--------------
src/pl/plpython/expected/plpython_do.out  |    3 +++
src/pl/plpython/expected/plpython_spi.out |   20 ++++++++++++++++++++
src/pl/plpython/sql/plpython_do.sql       |    2 ++
src/pl/plpython/sql/plpython_spi.sql      |   15 +++++++++++++++
4 files changed, 40 insertions(+), 0 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: PL/Python: Fix crash in functions returning SETOF and using SPI
Next
From: Robert Haas
Date:
Subject: pgsql: Add missing parenthesis in comment.