pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ananthreddy@yahoo.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Error in executing plpgsql function
Date: Mon, 03 Dec 2001 14:23:07 -0500
Message-ID: <18422.1007407387@sss.pgh.pa.us> (raw)
In-Reply-To: <5304e92b.0111302223.5e89b405@posting.google.com>
References: <5304e92b.0111302223.5e89b405@posting.google.com>

ananthreddy@yahoo.com (ananth) writes:
> The problem is when I run this function by passing a parameter values
> where row does not exist in table. I expect it to print message and
> return false. Instead it disconnects from server and throughs lot of
> errors in log file. Here is output from executing this function

What PG version are you running?  I seem to recall that there was a bug
with some not-found cases in plpgsql a while back.  If you're not using
7.1.3, update.

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <18422.1007407387@sss.pgh.pa.us>
Permalink:  ../18422.1007407387@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18422.1007407387@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, ananthreddy@yahoo.com
  Subject: Re: Error in executing plpgsql function
  In-Reply-To: <18422.1007407387@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