pgsql: PL/Python: Report argument parsing errors using exceptions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: PL/Python: Report argument parsing errors using exceptions
Дата
Msg-id E1bJXbt-0004tT-Pu@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
PL/Python: Report argument parsing errors using exceptions

Instead of calling PLy_elog() for reporting Python argument parsing
errors, generate appropriate exceptions.  This matches the existing plpy
functions and is more consistent with the behavior of the Python
argument parsing routines.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3a4a33ad49e7887b104a29323e4ea625d164a139

Modified Files
--------------
src/pl/plpython/expected/plpython_ereport.out | 28 +++++++++++++++++++--------
src/pl/plpython/plpy_plpymodule.c             | 23 +++++++++++++++++-----
2 files changed, 38 insertions(+), 13 deletions(-)


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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: pgsql: doc: mention dependency on collation libraries
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Round rowcount estimate for a partial path to an integer.