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

From Alvaro Herrera
Subject Re: So maybe SQLERRM? Sb knows how to check it?
Date
Msg-id 20050608185048.GC19344@surnet.cl
Whole thread Raw
In response to So maybe SQLERRM? Sb knows how to check it?  ("Gorodowienko Daniel" <daniel.gorodowienko@interia.pl>)
Responses Re: So maybe SQLERRM? Sb knows how to check it?  (Neil Conway <neilc@samurai.com>)
List pgsql-general
On Wed, Jun 08, 2005 at 08:03:40PM +0200, Gorodowienko Daniel wrote:
> Maybe I ask another way.
> In Oracle there is a variable SQLERRM, where error message is placed.
> How to get some message in PostgreSQL?
> I searched documentation 3 or 5 times, and Google, and wrote on forums
> topics and I have enough.

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 ...

--
Alvaro Herrera (<alvherre[a]surnet.cl>)
"Escucha y olvidarás; ve y recordarás; haz y entenderás" (Confucio)

pgsql-general by date:

Previous
From: Dan Black
Date:
Subject: Re: Foreign keys and slow insert
Next
From: webmaster@postgresql.org
Date:
Subject: IMPORTANT NOTIFICATION