Re: Exception ERROR Code - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Exception ERROR Code
Date
Msg-id Pine.LNX.4.44.0503052002430.15509-100000@kix.fsv.cvut.cz
Whole thread Raw
In response to Exception ERROR Code  (Ali Baba <idofyear@yahoo.com>)
Responses Implementation of SQLCODE and SQLERRM variables for PL/pgSQL  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
List pgsql-hackers
Hello,

It's no possible now. But I prepared small patch which implemented 
variables sqlcode and sqlerrm for plpgsql. I can send it tomorrow. 

regards
Pavel Stehule

On Sat, 5 Mar 2005, Ali Baba wrote:

> Hi ,
> 
> I am looking for the way to get the error code
> corresponding to the exception in plpgsql.
> Can any body guide me.
> 
> Thanks,
> Asif Ali
> 
> 
>     
>         
> __________________________________ 
> Celebrate Yahoo!'s 10th Birthday! 
> Yahoo! Netrospective: 100 Moments of the Web 
> http://birthday.yahoo.com/netrospective/
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match
> 



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: 8.0.X and the ARC patent
Next
From: Greg Stark
Date:
Subject: Re: 8.0.X and the ARC patent