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

Re: raise is not working

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "CHRIS HOOVER" <CHRIS(dot)HOOVER(at)companiongroup(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: raise is not working
Date: 2004-09-23 17:11:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-sql
"CHRIS HOOVER" <CHRIS(dot)HOOVER(at)companiongroup(dot)com> writes:
> They were a double quote.  I switched all of the double quotes out for single
> quotes but still not go.  The function appears to run and return no results
> but, I don't get any raises.  I have even tried moving the raises to be fire
> first lines in the function, but to no avail.

Hmm.  We saw a case just the other day where someone was mystified why
they weren't getting reasonable results, and it turned out that what
they were doing was editing function foo(something) and then invoking
a pre-existing function foo(somethingelse).  Check for similarly-named
functions with different parameter lists ...

			regards, tom lane

In response to

pgsql-sql by date

Next:From: Karsten HilbertDate: 2004-09-23 20:24:17
Subject: need "row number"
Previous:From: CHRIS HOOVERDate: 2004-09-23 17:04:00
Subject: Re: raise is not working

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