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

Quoting "

From: Andy Anderson <aanderson(at)amherst(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Quoting "
Date: 2008-04-30 13:10:38
Message-ID: D08F79F6-8401-4503-BB09-56EAEF47714F@amherst.edu (view raw or flat)
Thread:
Lists: pgsql-docspgsql-general
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. I  
assume this is, in fact, standard behavior for Postgres? (Perhaps a  
comprehensive table might be a good idea at this point in the manual.)

Thanks,

-- Andy


Responses

pgsql-docs by date

Next:From: Craig RingerDate: 2008-04-30 14:28:17
Subject: Re: Quoting "
Previous:From: Bruce MomjianDate: 2008-04-24 19:58:14
Subject: Re: FAQ on Embedding Postgres

pgsql-general by date

Next:From: Robert TreatDate: 2008-04-30 14:19:25
Subject: Re: How to modify ENUM datatypes?
Previous:From: Tatsuo IshiiDate: 2008-04-30 12:26:06
Subject: Re: Multibyte (Japanese Character) Sorting

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