postgres.git / summary / log / commit / refs
commit c263f16a20a12ee63bbf0c4769d87db3184709eb
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat May 11 16:07:47 2013 +0000
Update CREATE FUNCTION documentation about argument names.
The 9.2 patch that added argument name support in SQL-language functions
missed updating a parenthetical comment about that in the CREATE FUNCTION
reference page. Noted by Erwin Brandstetter.
doc/src/sgml/ref/create_function.sgml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml
index 48160b255e3..a87b1a114c8 100644
--- a/doc/src/sgml/ref/create_function.sgml
+++ b/doc/src/sgml/ref/create_function.sgml
@@ -134,8 +134,9 @@ CREATE [ OR REPLACE ] FUNCTION
<listitem>
<para>
- The name of an argument. Some languages (currently only PL/pgSQL) let
- you use the name in the function body. For other languages the
+ The name of an argument. Some languages (currently only SQL and
+ PL/pgSQL)
+ let you use the name in the function body. For other languages the
name of an input argument is just extra documentation, so far as
the function itself is concerned; but you can use input argument names
when calling a function to improve readability (see <xref
[parent: 69cc60dcfd0f]