X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D01E43A5DEF for ; Wed, 12 Jan 2005 19:40:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66566-03 for ; Wed, 12 Jan 2005 19:40:19 +0000 (GMT) Received: from a2s1.a2webhosting.com (host-180.a2webhosting.com [69.39.89.180]) by svr1.postgresql.org (Postfix) with ESMTP id A31F83A5DEA for ; Wed, 12 Jan 2005 19:40:18 +0000 (GMT) Received: from user-11214ha.dsl.mindspring.com ([66.32.146.42] helo=[192.168.1.10]) by a2s1.a2webhosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.43) id 1CooLq-0000FT-4i; Wed, 12 Jan 2005 14:40:18 -0500 In-Reply-To: <6665151E3647D711B27B0090277C004F9AF722@ntexch02s.scs.dra.hmg.gb> References: <6665151E3647D711B27B0090277C004F9AF722@ntexch02s.scs.dra.hmg.gb> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: PostgreSQL SQL From: John DeSoi Subject: Re: Problems with Quotes Date: Wed, 12 Jan 2005 14:40:24 -0500 To: Kieran Ashley X-Mailer: Apple Mail (2.619) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s1.a2webhosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200501/73 X-Sequence-Number: 19861 On Jan 12, 2005, at 2:00 PM, Kieran Ashley wrote: > I'm still not entirely sure _why_ that works, but it does... so I can > go home now! ;) You should look at section 37.2.1 in the current docs. 8.0 has a new dollar quoting feature which makes this easier to deal with. http://www.postgresql.org/docs/7.4/static/plpgsql-development-tips.html John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL