[DOCS] Reference function arguments by name

2013-05-11 Thread Erwin Brandstetter
Hi! The manual says here: http://www.postgresql.org/docs/current/interactive/sql-createfunction.html http://www.postgresql.org/docs/devel/static/sql-createfunction.html argname The name of an argument. Some languages (currently only PL/pgSQL) let you use the name in the function body.

Re: [DOCS] Reference function arguments by name

2013-05-11 Thread Sian Mountbatten
On 2013-05-09 21:46, Erwin Brandstetter wrote: Hi! The manual says here: http://www.postgresql.org/docs/current/interactive/sql-createfunction.html http://www.postgresql.org/docs/devel/static/sql-createfunction.html argname The name of an argument. Some languages (currently only PL/pgSQL)

Re: [DOCS] Reference function arguments by name

2013-05-11 Thread Erwin Brandstetter
On 11.05.2013 10:13, Sian Mountbatten wrote: On 2013-05-09 21:46, Erwin Brandstetter wrote: Hi! The manual says here: http://www.postgresql.org/docs/current/interactive/sql-createfunction.html http://www.postgresql.org/docs/devel/static/sql-createfunction.html argname The name of an arg

Re: [DOCS] Reference function arguments by name

2013-05-11 Thread Sian Mountbatten
On 2013-05-11 09:20, Erwin Brandstetter wrote: On 11.05.2013 10:13, Sian Mountbatten wrote: On 2013-05-09 21:46, Erwin Brandstetter wrote: Hi! The manual says here: http://www.postgresql.org/docs/current/interactive/sql-createfunction.html http://www.postgresql.org/docs/devel/static/sql-creat

Re: [DOCS] Reference function arguments by name

2013-05-11 Thread Erik Rijkers
On Thu, May 9, 2013 22:46, Erwin Brandstetter wrote: > This has changed in version 9.2. SQL functions can reference the name. Ergo: > > s /(currently only PL/pgSQL) / (currently only PL/pgSQL and SQL) > > Here is the patch (don't feed them Battenbergs). sql-createfunction.diff Description: Bina

Re: [DOCS] Reference function arguments by name

2013-05-11 Thread Tom Lane
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