Re: [PATCH] PL/Python: Add spidata to all spiexceptions

Поиск
Список
Период
Сортировка
От Jan Urbański
Тема Re: [PATCH] PL/Python: Add spidata to all spiexceptions
Дата
Msg-id 50980054.7010403@wulczer.org
обсуждение исходный текст
Ответ на Re: [PATCH] PL/Python: Add spidata to all spiexceptions  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [PATCH] PL/Python: Add spidata to all spiexceptions  (Jan Urbański <wulczer@wulczer.org>)
Список pgsql-hackers
On 05/11/12 18:35, Robert Haas wrote:
> On Wed, Oct 31, 2012 at 5:33 AM, Jan Urbański<wulczer@wulczer.org>  wrote:
>> On 30/10/12 22:06, Oskari Saarenmaa wrote:
>>>
>>> PL/Python maps Python SPIError exceptions with 'spidata' attribute into
>>> SQL
>>> errors.
>>
>> Here's an alternative patch that takes advantage of the already present (and
>> documented) "sqlstate" variable to set the error code when handling SPIError
>> exceptions.
>>
>> I also used your test case and added another one, just in case.
>
> You should probably add this to the next CF so we don't forget about it.

I will, as soon as I recover my community account.

Cheers,
Jan



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] PL/Python: Add spidata to all spiexceptions
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: September 2012 commitfest