On Tue, Nov 26, 2013 at 07:28:17PM +0000, Marc Mamin wrote: > > >Von: Peter Eisentraut [pete...@gmx.net] > > >>On 11/13/13, 9:02 AM, Marc Mamin wrote: > >> something like :? > >> > >> The name of the language that the function is implemented in. > >> Can be 'sql', 'c', 'internal', or the name of a user-defined procedural > >> language. > >> Single quotes are optional, they required correct case when used. > > >That would make the deprecated syntax more prominent than the > >non-deprecated one. We want to get rid of the single quotes. > > Ok, next try :) > > The name of the language that the function is implemented in. > Can be sql, c, internal, or the name of a user-defined procedural language. > Single quotes are deprecated. They require correct case when used.
I have applied the attached patch to improve the wording. Thanks for the report. -- Bruce Momjian <br...@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. +
diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml new file mode 100644 index 81278bb..b61b978 *** a/doc/src/sgml/ref/create_function.sgml --- b/doc/src/sgml/ref/create_function.sgml *************** CREATE [ OR REPLACE ] FUNCTION *** 252,261 **** <listitem> <para> The name of the language that the function is implemented in. ! 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. </para> </listitem> </varlistentry> --- 252,261 ---- <listitem> <para> The name of the language that the function is implemented in. ! It can be <literal>sql</literal>, <literal>c</literal>, <literal>internal</literal>, or the name of a user-defined ! procedural language, e.g. <literal>plpgsql</literal>. Enclosing the ! name in single quotes is deprecated and requires matching case. </para> </listitem> </varlistentry>
-- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs