vacuumlo nonstandard use of \\ in a string literal

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема vacuumlo nonstandard use of \\ in a string literal
Дата
Msg-id 20060223163218.GA37294@winnie.fuhr.org
обсуждение исходный текст
Ответы Re: vacuumlo nonstandard use of \\ in a string literal  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
In 8.1 and HEAD, if a role has escape_string_warning enabled then
vacuumlo elicits the following warning:

WARNING:  nonstandard use of \\ in a string literal at character 323
HINT:  Use the escape string syntax for backslashes, e.g., E'\\'.

How backward compatible should vacuumlo remain?  This patch changes
the string to E'...' but other ways would be to use dollar quotes
or ESCAPE.

--
Michael Fuhr

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: OS X shared memory documentation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: vacuumlo nonstandard use of \\ in a string literal