Re: Reference function arguments by name

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-18 03:15:15
Message-ID: 1371525315.13762.12.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2013-06-20 02:20:02 Re: Data Partition Encryption documentation
Previous Message Fujii Masao 2013-06-14 17:20:30 parallel pg_restore and supported input format