From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: PL/Python: Improve test coverage |
Date: | 2012-05-02 18:12:35 |
Message-ID: | E1SPe2V-00064u-3Q@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2012-05-02 18:17:38 | Beta time? |
Previous Message | Peter Eisentraut | 2012-05-02 18:04:42 | pgsql: PL/Python: Fix crash in functions returning SETOF and using SPI |