Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: non-standard escapes in string literals - Mailing list pgsql-hackers

From Lincoln Yeoh
Subject Re: non-standard escapes in string literals
Date
Msg-id [email protected]
Whole thread Raw
In response to non-standard escapes in string literals  ([email protected] (Andrew Pimlott))
Responses Re: non-standard escapes in string literals
List pgsql-hackers
OK, I was wrong. '' can be sufficient. The DB just has to treat everything 
between single quotes as data except for '' which is treated as a ' in the 
data.

However raw control characters can still cause problems in the various 
stages from the source to the DB.

Cheerio,
Link.

Lincoln Yeoh wrote:
Quoting is to help separate data from commands. Though '' is sufficient for 
quoting ' it seems to me not sufficient for control characters.



pgsql-hackers by date:

Previous
From: Lincoln Yeoh
Date:
Subject: Re: non-standard escapes in string literals
Next
From: Bruce Momjian
Date:
Subject: Roadmap for a Win32 port