Re: Exception ERROR Code

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: Ali Baba <idofyear(at)yahoo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Exception ERROR Code
Date: 2005-03-05 19:06:23
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-hackers pgsql-patches


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

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

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2005-03-05 19:17:44 Re: 8.0.X and the ARC patent
Previous Message Simon Riggs 2005-03-05 18:03:17 Re: 8.0.X and the ARC patent

Browse pgsql-patches by date

  From Date Subject
Next Message Heikki Linnakangas 2005-03-05 22:17:05 Harmless space allocation typo
Previous Message Tom Lane 2005-03-05 16:00:02 Re: Display Pg buffer cache (WIP)