pgsql: Use errcontext mechanism in PL/Python Error messages from

Поиск
Список
Период
Сортировка
От petere@postgresql.org (Peter Eisentraut)
Тема pgsql: Use errcontext mechanism in PL/Python Error messages from
Дата
Msg-id 20090720080107.251E375331E@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Use errcontext mechanism in PL/Python

Error messages from PL/Python now always mention the function name in the
CONTEXT: field.  This also obsoletes the few places that tried to do the
same manually.

Regression test files are updated to work with Python 2.4-2.6.  I don't have
access to older versions right now.

Modified Files:
--------------
    pgsql/src/pl/plpython:
        plpython.c (r1.122 -> r1.123)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c?r1=1.122&r2=1.123)
    pgsql/src/pl/plpython/expected:
        plpython_error.out (r1.5 -> r1.6)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_error.out?r1=1.5&r2=1.6)
        plpython_error_3.out (r1.2 -> r1.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_error_3.out?r1=1.2&r2=1.3)
        plpython_function.out (r1.12 -> r1.13)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_function.out?r1=1.12&r2=1.13)
        plpython_test.out (r1.8 -> r1.9)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/expected/plpython_test.out?r1=1.8&r2=1.9)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Remove unnecessary and version-sensitive dependence on the exact
Следующее
От: itagaki@pgfoundry.org (User Itagaki)
Дата:
Сообщение: textsearch-ja - textsearch_senna: Fix a bug that initial_n_segments