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

Re: Quoting "

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andy Anderson <aanderson(at)amherst(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Quoting "
Date: 2008-04-30 14:28:28
Message-ID: 18414.1209565708@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-docspgsql-general
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

  • Quoting " at 2008-04-30 13:10:38 from Andy Anderson

Responses

pgsql-docs by date

Next:From: Andy AndersonDate: 2008-04-30 14:33:19
Subject: Re: Quoting "
Previous:From: Craig RingerDate: 2008-04-30 14:28:17
Subject: Re: Quoting "

pgsql-general by date

Next:From: Karsten HilbertDate: 2008-04-30 14:28:33
Subject: Re: inheritance. more.
Previous:From: Craig RingerDate: 2008-04-30 14:28:17
Subject: Re: Quoting "

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