X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id BD499D1B562 for ; Tue, 21 Oct 2003 16:48:50 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 03856-06 for ; Tue, 21 Oct 2003 13:48:20 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 9299FD1B555 for ; Tue, 21 Oct 2003 13:48:19 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9LGmDit004325; Tue, 21 Oct 2003 12:48:13 -0400 (EDT) To: Peter Eisentraut Cc: Oliver Elphick , pgsql-docs@postgresql.org Subject: Re: Clarification in create_function.sgml In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Tue, 21 Oct 2003 18:42:54 +0200" Date: Tue, 21 Oct 2003 12:48:13 -0400 Message-ID: <4324.1066754893@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/27 X-Sequence-Number: 2047 Peter Eisentraut writes: > Oliver Elphick writes: >> It is necessary for single quotes and backslashes in a function >> definition to be escaped, but the reference page does not make this >> clear. > This ought to be implicit in it being a string literal. It is mentioned in many places, but not on that particular page. I don't have a problem with adding something there too, but I think it ought to go in the NOTES section rather than where Oliver has put it. We commonly have "Don't forget that ..." kinds of items in NOTES. regards, tom lane