PL/Python: Add result metadata functions Add result object functions .colnames, .coltypes, .coltypmods to obtain information about the result column names and types, which was previously not possible in the PL/Python SPI interface.
reviewed by Abhijit Menon-Sen Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/ee7fa66b19f5454fac07caee4b7798810b579a82 Modified Files -------------- doc/src/sgml/plpython.sgml | 9 +++-- src/pl/plpython/expected/plpython_spi.out | 11 +++++- src/pl/plpython/plpy_resultobject.c | 54 +++++++++++++++++++++++++++++ src/pl/plpython/plpy_resultobject.h | 4 ++ src/pl/plpython/plpy_spi.c | 2 + src/pl/plpython/sql/plpython_spi.sql | 5 ++- 6 files changed, 80 insertions(+), 5 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
