Re: non-standard escapes in string literals
От
Lincoln Yeoh
Тема
Re: non-standard escapes in string literals
Дата
Msg-id
5.1.0.14.1.20020605122127.02dcbc30@192.228.128.13
Список
Дерево обсуждения
Re: non-standard escapes in string literals Lincoln Yeoh <lyeoh@pop.jaring.my>
Re: non-standard escapes in string literals Peter Eisentraut <peter_e@gmx.net>
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 по дате отправления