Escape Quotes - Mailing list pgsql-sql

From Keith Gray
Subject Escape Quotes
Date
Msg-id 3AFB3C52.315C48F0@heart.com.au
Whole thread Raw
Responses Re: Escape Quotes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
When using apostrophies the PostgreSQL string seems to like 
an escape character as follows:

update client set code = 'O\'SHEA' where clientid = 2;


The ANSI-92 standard seems to suggest that this could/should 
be handled by 

<quote> ::= '
<quote symbol> ::= <quote><quote>
update client set code = 'O''SHEA' where clientid = 2;


Is it possible to get/configure PostgreSQL to handle <quote><quote>
as <quote> within a dleimited string?


Keith Gray


pgsql-sql by date:

Previous
From: Jeff Eckermann
Date:
Subject: RE: Order by email address by domain ?
Next
From: Frank Bax
Date:
Subject: Re: Order by email address by domain ?