Re: Quoting " - Mailing list pgsql-general

From Andy Anderson
Subject Re: Quoting "
Date
Msg-id F988E1CB-E8B2-47D0-BD50-1195E5675982@amherst.edu
Whole thread Raw
In response to Re: Quoting "  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
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 <aanderson@amherst.edu> 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


pgsql-general by date:

Previous
From: "Karsten Hilbert"
Date:
Subject: Re: inheritance. more.
Next
From: "Dan Armbrust"
Date:
Subject: Re: Deadlock situation?