Re: PL/Python SQL error code pass-through

Поиск
Список
Период
Сортировка
От Jan Urbański
Тема Re: PL/Python SQL error code pass-through
Дата
Msg-id 4ECDFB26.1090203@wulczer.org
обсуждение исходный текст
Ответ на PL/Python SQL error code pass-through  (Mika Eloranta <mel@ohmu.fi>)
Ответы Re: PL/Python SQL error code pass-through  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
On 23/11/11 17:24, Mika Eloranta wrote:
> Hi all,
>
> [PL/Python in 9.1 does not preserve SQLSTATE of errors]

Oops, you're right, it's a regression from 9.0 behaviour.

The fix looks good to me, I changed one place to indent with tabs
instead of spaces and added a regression test.

I think this should be backpatched to 9.1, no?

Thanks for the report and the patch!

Cheers,
Jan

Вложения

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

Предыдущее
От: Dmitriy Igrishin
Дата:
Сообщение: Re: Notes on implementing URI syntax for libpq
Следующее
От: Alexey Klyukin
Дата:
Сообщение: Re: Notes on implementing URI syntax for libpq