Re: PostgreSQL nonstandard use of escape in a string literal
В списке pgsql-general по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: PostgreSQL nonstandard use of escape in a string literal |
| Дата | |
| Msg-id | 1253247854.7971.3.camel@vanquo.pezone.net обсуждение исходный текст |
| Ответ на | PostgreSQL nonstandard use of escape in a string literal ("Johnson, Trevor" <trevor.johnson@tafensw.edu.au>) |
| Список | pgsql-general |
On fre, 2009-09-18 at 14:05 +1000, Johnson, Trevor wrote: > Using Moodle with PostgreSQL 8.4 and we get warning messages... > > 2009-09-18 13:48:11 ESTWARNING: nonstandard use of escape in a string > literal at character 209 > > 2009-09-18 13:48:11 ESTHINT: Use the escape string syntax for > escapes, e.g., E'\r\n'. > “standard_conforming_strings” is set to off, if we turn it on it > breaks Moodle. > Are these just warnings or is there something we need to fix? Well, in your case they are apparently "estwarnings" because you didn't put a space at the end of log_line_prefix ;-), but really they are just warnings. In the long run, you will want to switch to doing what the hint, er, esthint says, after which setting standard_conforming_strings to on becomes OK. Moodle will need to do the same first as well.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера