Re: Quoting "

From: Andy Anderson <aanderson(at)amherst(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Quoting "
Date: 2008-04-30 14:33:19
Message-ID: F988E1CB-E8B2-47D0-BD50-1195E5675982@amherst.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs 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(at)amherst(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Scott Marlowe 2008-04-30 15:52:39 Re: Quoting "
Previous Message Tom Lane 2008-04-30 14:28:28 Re: Quoting "

Browse pgsql-general by date

  From Date Subject
Next Message Dan Armbrust 2008-04-30 14:55:25 Re: Deadlock situation?
Previous Message Karsten Hilbert 2008-04-30 14:28:33 Re: inheritance. more.