Re: raise is not working - Mailing list pgsql-sql

From Tom Lane
Subject Re: raise is not working
Date
Msg-id 4074.1095805750@sss.pgh.pa.us
Whole thread Raw
In response to raise is not working  ("CHRIS HOOVER" <CHRIS.HOOVER@companiongroup.com>)
List pgsql-sql
"CHRIS HOOVER" <CHRIS.HOOVER@companiongroup.com> writes:
> SQL_Str is defined as a varchar.  Neither of the raise calls have done
> anything, but I don't get any errors either.

The only way RAISE EXCEPTION "isn't going to do anything" is if control
doesn't get to it.  My bet would be that you are invoking some other
function than you think you are --- we've seen examples of that sort of
mistake recently.  Check for multiple functions with same name and
different argument types.
        regards, tom lane


pgsql-sql by date:

Previous
From: Greg Stark
Date:
Subject: Re: JOIN performance
Next
From: Marco Gaiarin
Date:
Subject: Porting problem from Informix to Postgres...