Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C022F4761E9 for ; Wed, 11 Dec 2002 10:57:17 -0500 (EST) Received: from localhost.localdomain (unknown [65.217.53.66]) by postgresql.org (Postfix) with ESMTP id CBD95476117 for ; Wed, 11 Dec 2002 10:57:16 -0500 (EST) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id gBBG7B6P008731; Wed, 11 Dec 2002 11:07:11 -0500 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id gBBFuhj08994; Wed, 11 Dec 2002 10:56:43 -0500 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id XX5JXCA9; Wed, 11 Dec 2002 10:56:43 -0500 Subject: Re: Function Problem From: Robert Treat To: geoff@metalogicplc.com Cc: "Pgsql-Admin (E-mail)" In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 11 Dec 2002 10:56:43 -0500 Message-Id: <1039622203.32696.12.camel@camel> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/151 X-Sequence-Number: 6646 On Wed, 2002-12-11 at 07:38, Geoff wrote: > > RETURN NULL; > > END > > ' LANGUAGE 'plpgsql' ; > Look over Jakub's email, it's on the right track. FWIW, you also need a ; after your END statement, which I believe is the actual error your seeing. Robert Treat