docs: improve CREATE FUNCTION docs about language case and quoting
authorBruce Momjian <bruce@momjian.us>
Thu, 13 Feb 2014 22:07:05 +0000 (17:07 -0500)
committerBruce Momjian <bruce@momjian.us>
Thu, 13 Feb 2014 22:07:05 +0000 (17:07 -0500)
Report from Marc Mamin

doc/src/sgml/ref/create_function.sgml

index 81278bb2f813fc614c68033e1bd03b7c9339e8c1..b61b9785ee9f7039519063a690964db23a4465ea 100644 (file)
@@ -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>