Re: Reference function arguments by name
От | Peter Eisentraut |
---|---|
Тема | Re: Reference function arguments by name |
Дата | |
Msg-id | 1371695748.13762.41.camel@vanquo.pezone.net обсуждение исходный текст |
Ответ на | Re: Reference function arguments by name (Peter Eisentraut <peter_e@gmx.net>) |
Список | 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@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.
В списке pgsql-docs по дате отправления: