Re: Error in executing plpgsql function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ananthreddy(at)yahoo(dot)com (ananth)
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Error in executing plpgsql function
Date: 2001-12-03 19:23:07
Message-ID: 18422.1007407387@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

ananthreddy(at)yahoo(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Christopher Kings-Lynne 2001-12-04 01:36:18 Re: An easy question about creating a primary key
Previous Message Josh Berkus 2001-12-03 19:20:07 Re: An easy question about creating a primary key