Re: So maybe SQLERRM? Sb knows how to check it?

From: Alvaro Herrera <alvherre(at)surnet(dot)cl>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Gorodowienko Daniel <daniel(dot)gorodowienko(at)interia(dot)pl>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: So maybe SQLERRM? Sb knows how to check it?
Date: 2005-06-09 04:33:41
Message-ID: 20050609043341.GA8450@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jun 09, 2005 at 12:25:19PM +1000, Neil Conway wrote:
> 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.

Huh, I meant a patch for getting the error message from RAISE EXCEPTION.
Does Pavel's patch address that too?

--
Alvaro Herrera (<alvherre[a]surnet.cl>)
"Endurecerse, pero jamás perder la ternura" (E. Guevara)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2005-06-09 04:34:15 Re: So maybe SQLERRM? Sb knows how to check it?
Previous Message Bruno Wolff III 2005-06-09 02:41:55 Re: Possible to ignore transactions > n?