Re: PL/Python SQL error code pass-through - Mailing list pgsql-hackers

From Jan Urbański
Subject Re: PL/Python SQL error code pass-through
Date
Msg-id 4ECDFB26.1090203@wulczer.org
Whole thread Raw
In response to PL/Python SQL error code pass-through  (Mika Eloranta <mel@ohmu.fi>)
Responses Re: PL/Python SQL error code pass-through
List 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

Attachment

pgsql-hackers by date:

Previous
From: Dmitriy Igrishin
Date:
Subject: Re: Notes on implementing URI syntax for libpq
Next
From: Alexey Klyukin
Date:
Subject: Re: Notes on implementing URI syntax for libpq