pgsql: Enhanced custom error in PLPythonu

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема pgsql: Enhanced custom error in PLPythonu
Дата
Msg-id E1aoYPG-0001rY-FM@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Enhanced custom error in PLPythonu

Patch adds a new, more rich,  way to emit error message or exception from
PL/Pythonu code.

Author: Pavel Stehule
Reviewers: Catalin Iacob, Peter Eisentraut, Jim Nasby

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5c3c3cd0a3046339597a03bc708cb5530dc07059

Modified Files
--------------
doc/src/sgml/plpython.sgml                 |  66 ++++++---
src/pl/plpython/expected/plpython_test.out | 193 ++++++++++++++++++++++++++-
src/pl/plpython/plpy_elog.c                | 167 +++++++++++++++++++++--
src/pl/plpython/plpy_elog.h                |   2 +
src/pl/plpython/plpy_plpymodule.c          | 206 ++++++++++++++++++++++-------
src/pl/plpython/plpy_spi.c                 |  11 +-
src/pl/plpython/sql/plpython_test.sql      | 137 ++++++++++++++++++-
7 files changed, 701 insertions(+), 81 deletions(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Increase maximum number of clog buffers.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Document which aggregates support partial mode.