aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-05-11 12:07:47 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-05-11 12:07:47 -0400
commitc263f16a20a12ee63bbf0c4769d87db3184709eb (patch)
tree661ae940df1d97cee685cefd4dd4bcb427b44f0a
parent69cc60dcfd0fb643cd2fe3ce66d4389858bfdeb5 (diff)
downloadpostgresql-c263f16a20a12ee63bbf0c4769d87db3184709eb.tar.gz
postgresql-c263f16a20a12ee63bbf0c4769d87db3184709eb.zip
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.
-rw-r--r--doc/src/sgml/ref/create_function.sgml5
1 files 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