From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Erwin Brandstetter <brandstetter@falter.at>
Cc: pgsql-docs@postgresql.org
Subject: Re: Reference function arguments by name
Date: Wed, 19 Jun 2013 22:35:48 -0400
Message-ID: <1371695748.13762.41.camel@vanquo.pezone.net> (raw)
In-Reply-To: <1371525315.13762.12.camel@vanquo.pezone.net>
References: <518C0B2B.9040909@falter.at>
<18362.1368288613@sss.pgh.pa.us>
<1371525315.13762.12.camel@vanquo.pezone.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>
On Mon, 2013-06-17 at 23:15 -0400, Peter Eisentraut wrote:
> On Sat, 2013-05-11 at 12:10 -0400, Tom Lane wrote:
> > Erwin Brandstetter <brandstetter@falter.at> 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!
>
> According to https://wiki.postgresql.org/wiki/PL_Matrix, several other
> languages support named parameters. Maybe the parenthetical remark
> should be removed altogether.
Fixed, and also updated the equally wrong claim in 8.4...9.1 that only
PL/pgSQL supports this.
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us, brandstetter@falter.at
Subject: Re: Reference function arguments by name
In-Reply-To: <1371695748.13762.41.camel@vanquo.pezone.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox