Re: So maybe SQLERRM? Sb knows how to check it? - Mailing list pgsql-general

From Neil Conway
Subject Re: So maybe SQLERRM? Sb knows how to check it?
Date
Msg-id 42A7A88F.7090706@samurai.com
Whole thread Raw
In response to Re: So maybe SQLERRM? Sb knows how to check it?  (Alvaro Herrera <alvherre@surnet.cl>)
Responses Re: So maybe SQLERRM? Sb knows how to check it?  (Alvaro Herrera <alvherre@surnet.cl>)
List pgsql-general
Alvaro Herrera wrote:
> No, we don't have SQLERRM support yet.  If you were asking about getting
> the messages from RAISE EXCEPTION, I'm afraid there's no way to get it
> in the EXCEPTION clause.
>
> If you want to contribute it, patches are welcome ...

Actually, Pavel Stehule sent in a patch for this a few days ago, which
I'll be reviewing and apply to HEAD shortly -- it will be in 8.1.

-Neil


pgsql-general by date:

Previous
From: John Barham
Date:
Subject: Possible to ignore transactions > n?
Next
From: Bruno Wolff III
Date:
Subject: Re: Possible to ignore transactions > n?