aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2014-02-13 17:07:05 -0500
committerBruce Momjian <bruce@momjian.us>2014-02-13 17:07:05 -0500
commitde4b6558be4285d8186e16f33ab474d619bb0cf6 (patch)
tree75b91bb53da7fc8d98dc26550d1f6a19882e4519
parent474cb24df7f6f85a936e87314edeb2deb92365cd (diff)
downloadpostgresql-de4b6558be4285d8186e16f33ab474d619bb0cf6.tar.gz
postgresql-de4b6558be4285d8186e16f33ab474d619bb0cf6.zip
docs: improve CREATE FUNCTION docs about language case and quoting
Report from Marc Mamin
-rw-r--r--doc/src/sgml/ref/create_function.sgml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml
index 81278bb2f81..b61b9785ee9 100644
--- a/doc/src/sgml/ref/create_function.sgml
+++ b/doc/src/sgml/ref/create_function.sgml
@@ -252,10 +252,10 @@ CREATE [ OR REPLACE ] FUNCTION
<listitem>
<para>
The name of the language that the function is implemented in.
- Can be <literal>SQL</literal>, <literal>C</literal>,
+ It can be <literal>sql</literal>, <literal>c</literal>,
<literal>internal</literal>, or the name of a user-defined
- procedural language. For backward compatibility,
- the name can be enclosed by single quotes.
+ procedural language, e.g. <literal>plpgsql</literal>. Enclosing the
+ name in single quotes is deprecated and requires matching case.
</para>
</listitem>
</varlistentry>