]> granicus.if.org Git - postgresql/commit
PL/Python: Add result object str handler
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 3 Feb 2013 05:31:01 +0000 (00:31 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 3 Feb 2013 05:31:01 +0000 (00:31 -0500)
commit330ed4ac6c55294c62bfd975d6e1aafda274e096
tree65a81a116a9d82a9350976d434372f58f6360a0d
parentd2d153fdb08053d655bd0fef14187eed6a674193
PL/Python: Add result object str handler

This is intended so that say plpy.debug(rv) prints something useful for
debugging query execution results.

reviewed by Steve Singer
doc/src/sgml/plpython.sgml
src/pl/plpython/expected/plpython_spi.out
src/pl/plpython/plpy_resultobject.c
src/pl/plpython/sql/plpython_spi.sql