Skip site navigation (1) Skip section navigation (2)

Re: pl/pgsql and error handling

From: "Bart Degryse" <Bart(dot)Degryse(at)indicator(dot)be>
To: "Alex Hochberger" <alex(at)dsgi(dot)us>,"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: pl/pgsql and error handling
Date: 2008-02-29 07:44:03
Message-ID: (view raw or whole thread)
Lists: pgsql-sql would be the place to look.

>>> Alex Hochberger <alex(at)dsgi(dot)us> 2008-02-29 6:29 >>>
I do not know.  It's sounds like the Oracle PL/SQL behavior is what I  
want.  Does PostgreSQL's pl/pgsql have such a feature?  It's not in  
the documentation anywhere.  I'll check it from the office tomorrow.


On Feb 28, 2008, at 11:43 PM, Tom Lane wrote:

> Alex Hochberger <alex(at)dsgi(dot)us> writes:
>> Is it possible to grab access to the actually user-friendly error
>> message?
> Doesn't the SQLERRM variable do what you want?
> regards, tom lane
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>      ( )

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at


In response to

pgsql-sql by date

Next:From: Professor Flávio BritoDate: 2008-03-01 11:11:37
Subject: Function returns error (view) (RESOLVED)
Previous:From: Alex HochbergerDate: 2008-02-29 05:29:25
Subject: Re: pl/pgsql and error handling

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group