Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UbCNK-0001AM-9L for pgsql-docs@arkaria.postgresql.org; Sat, 11 May 2013 16:10:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UbCNJ-0008Fk-Q9 for pgsql-docs@arkaria.postgresql.org; Sat, 11 May 2013 16:10:21 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UbCNJ-0008Ff-8v for pgsql-docs@postgresql.org; Sat, 11 May 2013 16:10:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UbCNC-0007Rw-Nt for pgsql-docs@postgresql.org; Sat, 11 May 2013 16:10:20 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r4BGADwl018363; Sat, 11 May 2013 12:10:13 -0400 (EDT) From: Tom Lane To: Erwin Brandstetter cc: pgsql-docs@postgresql.org Subject: Re: Reference function arguments by name In-reply-to: <518C0B2B.9040909@falter.at> References: <518C0B2B.9040909@falter.at> Comments: In-reply-to Erwin Brandstetter message dated "Thu, 09 May 2013 22:46:35 +0200" Date: Sat, 11 May 2013 12:10:13 -0400 Message-ID: <18362.1368288613@sss.pgh.pa.us> X-Pg-Spam-Score: -3.4 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Erwin Brandstetter writes: > The manual says here: > http://www.postgresql.org/docs/current/interactive/sql-createfunction.html >> The name of an argument. Some languages (currently only PL/pgSQL) >> let you use the name in the function body. For other languages the > This has changed in version 9.2. SQL functions can reference the name. Ah, this comment got missed when updating the docs for that feature. Fixed, thanks for spotting it! regards, tom lane -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs