Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 06ACC2E0059 for ; Wed, 30 Apr 2008 11:28:34 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 88262-01 for ; Wed, 30 Apr 2008 11:28:22 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by developer.postgresql.org (Postfix) with ESMTP id AB14C2E0037 for ; Wed, 30 Apr 2008 11:28:30 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m3UESS5P018415; Wed, 30 Apr 2008 10:28:28 -0400 (EDT) To: Andy Anderson cc: pgsql-general@postgresql.org Subject: Re: Quoting " In-reply-to: References: Comments: In-reply-to Andy Anderson message dated "Wed, 30 Apr 2008 09:10:38 -0400" Date: Wed, 30 Apr 2008 10:28:28 -0400 Message-ID: <18414.1209565708@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/1409 X-Sequence-Number: 132378 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