| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Erwin Brandstetter <brandstetter(at)falter(dot)at>, pgsql-docs(at)postgresql(dot)org |
| Subject: | Re: Reference function arguments by name |
| Date: | 2013-06-20 02:35:48 |
| Message-ID: | 1371695748.13762.41.camel@vanquo.pezone.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-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(at)falter(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adam Vande More | 2013-06-20 02:45:34 | Re: Data Partition Encryption documentation |
| Previous Message | Peter Eisentraut | 2013-06-20 02:20:02 | Re: Data Partition Encryption documentation |