Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 6128B2E0059 for ; Wed, 30 Apr 2008 11:39:22 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 67019-04 for ; Wed, 30 Apr 2008 11:39:07 -0300 (ADT) X-Greylist: delayed 00:05:31.031101 by SQLgrey-1.7.5 Received: from QMTA07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by developer.postgresql.org (Postfix) with ESMTP id E7E782E0060 for ; Wed, 30 Apr 2008 11:39:12 -0300 (ADT) Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id Km2k1Z0060FhH24A70Ma00; Wed, 30 Apr 2008 14:33:29 +0000 Received: from dhcp-142.subnet-212.amherst.edu ([148.85.212.142]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id KqZL1Z00534ttPY8U00000; Wed, 30 Apr 2008 14:33:36 +0000 X-Authority-Analysis: v=1.0 c=1 a=uRkug2F3Kd1UuMeIkRwA:9 a=GatOnHLT-LLWnJF5Ai8A:7 a=ymRJPilizUbF7AKBW300NxUbYIEA:4 a=E0t0X0QyNCQA:10 Message-Id: From: Andy Anderson To: pgsql-general@postgresql.org In-Reply-To: <18414.1209565708@sss.pgh.pa.us> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Quoting " Date: Wed, 30 Apr 2008 10:33:19 -0400 References: <18414.1209565708@sss.pgh.pa.us> X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/1412 X-Sequence-Number: 132381 Ah, slight ambiguity here. Perhaps this might best say "Any other character following a backslash is taken literally, and the backslash is removed." Thanks, -- Andy On Apr 30, 2008, at 10:28 AM, Tom Lane wrote: > Andy Anderson writes: >> In a test I just did, the sequence \" (backslash double-quote) is >> interpreted as just a " inside of the E'...' string constant >> expression. This is great, since PHP's addslashes() sticks them in >> along with the other stuff I really need to quote like ' and \. But I >> see that \" isn't documented in the manual in section 4.1.2.1. > > Huh? It says > > Any other character following a backslash is taken literally. > > regards, tom lane