Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fB45cvm46881 for ; Tue, 4 Dec 2001 00:38:58 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id fB45NPA79366 for pgsql-sql@postgresql.org; Tue, 4 Dec 2001 00:23:25 -0500 (EST) (envelope-from news) From: ananthreddy@yahoo.com (ananth) X-Newsgroups: comp.databases.postgresql.sql Subject: Re: Error in executing plpgsql function Date: 3 Dec 2001 21:23:19 -0800 Organization: http://groups.google.com/ Lines: 19 Message-ID: <5304e92b.0112032123.784d38c3@posting.google.com> References: <18422.1007407387@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-sql@postgresql.org X-Archive-Number: 200112/75 X-Sequence-Number: 5898 tgl@sss.pgh.pa.us (Tom Lane) wrote in message news:<18422.1007407387@sss.pgh.pa.us>... > 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. 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@postgresql.org