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 5.1.0.14.1.20020605122127.02dcbc30@192.228.128.13
Whole thread Raw
In response to non-standard escapes in string literals  (pimlott@idiomtech.com (Andrew Pimlott))
Responses Re: non-standard escapes in string literals  (Peter Eisentraut <peter_e@gmx.net>)
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