Re: WARNING: nonstandard use of escape in a string literal
В списке pgsql-general по дате отправления:
| От | John R Pierce |
|---|---|
| Тема | Re: WARNING: nonstandard use of escape in a string literal |
| Дата | |
| Msg-id | 4B3287FA.2040502@hogranch.com обсуждение исходный текст |
| Ответ на | Re: WARNING: nonstandard use of escape in a string literal (Bill Moran <wmoran@potentialtech.com>) |
| Ответы |
Re: WARNING: nonstandard use of escape in a string literal
|
| Список | pgsql-general |
Bill Moran wrote: > You need to spend some quality time with the documentation. Seriously, > the issue _is_ confusing, but the docs explain it all, if you take the > time to read all of it. > > To directly answer your question, \s is not a recognized escape sequence, > so PG passes it unchanged. > > However, if you were trying to pass a \f, you would need to escape the \, > like this '\\f', otherwise the \f would be converted to a form feed before > LIKE ever saw it. > and, naturally, this gets even more complicated and confusing when the string is a literal in a C/Perl/etc program that has its OWN escaping going on.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера