X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 3C074D1BA79 for ; Sat, 6 Sep 2003 05:23:26 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 10722-09 for ; Sat, 6 Sep 2003 02:22:55 -0300 (ADT) Received: from p15140235.pureserver.info (sql-info.de [217.160.166.164]) by svr1.postgresql.org (Postfix) with ESMTP id 45740D1BA38 for ; Sat, 6 Sep 2003 02:22:54 -0300 (ADT) Received: from iwate.sql-info.de (pD9EB10B4.dip.t-dialin.net [217.235.16.180]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by p15140235.pureserver.info (Postfix) with ESMTP id 8263E1D10; Sat, 6 Sep 2003 07:22:37 +0200 (CEST) From: Ian Barwick To: "Kumar" , "psql" Subject: Re: Name the Parameters Date: Sat, 6 Sep 2003 07:21:26 +0200 User-Agent: KMail/1.5.1 References: <003501c37431$59f9f9c0$7502a8c0@hdsc.com> In-Reply-To: <003501c37431$59f9f9c0$7502a8c0@hdsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309060721.26358.barwick@gmx.net> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/36 X-Sequence-Number: 15014 On Saturday 06 September 2003 06:42, Kumar wrote: > Dear Gurus, > > Is it possible to name the IN parameters of the PLpgSQL Functions. Because > naming the parameter will ease coding. See the following function for > insert, having 10 parameters as a input. No, though there is an item on the TODO list IIRC. Using ALIAS FOR might make things easier though, something along the lines of: DECLARE address_id ALIAS FOR $1; address ALIAS FOR $2; ... BEGIN ... END; Ian Barwick barwick@gmx.net