Re: Issue getColumns(): Nonstandard use of \\ in a string literal

Поиск
Список
Период
Сортировка
От dv
Тема Re: Issue getColumns(): Nonstandard use of \\ in a string literal
Дата
Msg-id 1315566316640-4785925.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Issue getColumns(): Nonstandard use of \\ in a string literal  (Kris Jurka <books@ejurka.com>)
Ответы Re: Issue getColumns(): Nonstandard use of \\ in a string literal  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
As of postgresql 9.1 defaulted to
standard_conforming_strings = on

These warnings are turned to the errors, so they cannot be ignored any more:

2011-09-09 14:41:06 MSD ERROR:  invalid escape string
2011-09-09 14:41:06 MSD HINT:  Escape string must be empty or one character.
2011-09-09 14:41:06 MSD STATEMENT:  SELECT COUNT(a0.id) FROM country a0
WHERE a0."name" LIKE '%%' ESCAPE '\\'

--
Dmitry

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Issue-getColumns-Nonstandard-use-of-in-a-string-literal-tp3386298p4785925.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.

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

Предыдущее
От: Seckin Pulatkan
Дата:
Сообщение: Re: Group by clause problem with postgresql jdbc 9.0-801
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: 9.1 driver status