From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Enhanced custom error in PLPythonu |
Date: | 2016-04-08 15:33:10 |
Message-ID: | E1aoYPG-0001rY-FM@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-04-08 16:13:19 | pgsql: Document which aggregates support partial mode. |
Previous Message | Andres Freund | 2016-04-08 15:30:36 | pgsql: Increase maximum number of clog buffers. |