Re: Error in executing plpgsql function

From: ananthreddy(at)yahoo(dot)com (ananth)
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Error in executing plpgsql function
Date: 2001-12-04 05:23:19
Message-ID: 5304e92b.0112032123.784d38c3@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane) wrote in message news:<18422(dot)1007407387(at)sss(dot)pgh(dot)pa(dot)us>...
> 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.

I am running 7.1.1.
Thanks. I'll update.

>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Arian Prins 2001-12-04 08:31:30 Re: need some help understanding sloq query
Previous Message Keith Gray 2001-12-04 05:16:36 Re: creating a primary key