Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id ABB8F642FDC for ; Fri, 30 Oct 2009 18:22:29 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 99686-01 for ; Fri, 30 Oct 2009 21:22:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id B23F3642FD2 for ; Fri, 30 Oct 2009 18:22:18 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n9ULMHMp022097; Fri, 30 Oct 2009 17:22:17 -0400 (EDT) To: "Plugge, Joe R." cc: Brian Modra , "pgsql-sql@postgresql.org" Subject: Re: Function Syntax Help In-reply-to: References: <5a9699850910301229r6e3b936g7c86d2ab0cdaa6c6@mail.gmail.com> <5a9699850910301245y4cef2adcob42ea03fc2b68634@mail.gmail.com> Comments: In-reply-to "Plugge, Joe R." message dated "Fri, 30 Oct 2009 14:50:42 -0500" Date: Fri, 30 Oct 2009 17:22:17 -0400 Message-ID: <22096.1256937737@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.551 tagged_above=-10 required=5 tests=AWL=0.048, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200910/150 X-Sequence-Number: 33349 "Plugge, Joe R." writes: > Thanks, I changed my code to this, it compiled, and it seems to be running now: It looks like you are expecting assignment to the input parameters to do something useful ... it will not. Maybe you need some output parameters? regards, tom lane