From eb1c22c39d3063da3030c8bb122ff89280eaf592 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Sun, 26 Oct 2003 04:34:05 +0000 Subject: [PATCH] Add mention of quotes on function body to NOTES section. Oliver Elphick --- doc/src/sgml/ref/create_function.sgml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml index ec458e51975..d094e3970ef 100644 --- a/doc/src/sgml/ref/create_function.sgml +++ b/doc/src/sgml/ref/create_function.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.52 2003/09/11 21:42:20 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.53 2003/10/26 04:34:05 momjian Exp $ --> <refentry id="SQL-CREATEFUNCTION"> @@ -355,9 +355,15 @@ CREATE [ OR REPLACE ] FUNCTION <replaceable class="parameter">name</replaceable> </para> <para> - To be able to define a function, the user must have the - <literal>USAGE</literal> privilege on the language. + Any single quotes or backslashes in the function definition must be + escaped by doubling them. </para> + + <para> + To be able to define a function, the user must have the + <literal>USAGE</literal> privilege on the language. + </para> + </refsect1> <refsect1 id="sql-createfunction-examples"> -- GitLab