Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-docspgsql-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

pgsql-docs by date

Next:From: Scott MarloweDate: 2008-04-30 15:52:39
Subject: Re: Quoting "
Previous:From: Tom LaneDate: 2008-04-30 14:28:28
Subject: Re: Quoting "

pgsql-general by date

Next:From: Dan ArmbrustDate: 2008-04-30 14:55:25
Subject: Re: Deadlock situation?
Previous:From: Karsten HilbertDate: 2008-04-30 14:28:33
Subject: Re: inheritance. more.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group