pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: CHRIS HOOVER <CHRIS.HOOVER@companiongroup.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: raise is not working
Date: Tue, 21 Sep 2004 18:29:10 -0400
Message-ID: <4074.1095805750@sss.pgh.pa.us> (raw)
In-Reply-To: <NY3dc8d8-04950e86@companiongroup.com>
References: <NY3dc8d8-04950e86@companiongroup.com>

"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



view thread (7+ messages)  latest in thread

Message-ID: <4074.1095805750@sss.pgh.pa.us>
Permalink:  ../4074.1095805750@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4074.1095805750@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, CHRIS.HOOVER@companiongroup.com
  Subject: Re: raise is not working
  In-Reply-To: <4074.1095805750@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox