pgsql: PL/Python: Add result metadata functions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: PL/Python: Add result metadata functions
Дата
Msg-id E1RrxEZ-0001Am-CT@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Remove prototype for nonexistent function.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Use abort() instead of exit() to abort library functions