Re: Issue getColumns(): Nonstandard use of \\ in a string literal - Mailing list pgsql-jdbc

From dv
Subject Re: Issue getColumns(): Nonstandard use of \\ in a string literal
Date
Msg-id 1315566316640-4785925.post@n5.nabble.com
Whole thread Raw
In response to Re: Issue getColumns(): Nonstandard use of \\ in a string literal  (Kris Jurka <books@ejurka.com>)
Responses Re: Issue getColumns(): Nonstandard use of \\ in a string literal
List 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 by date:

Previous
From: Seckin Pulatkan
Date:
Subject: Re: Group by clause problem with postgresql jdbc 9.0-801
Next
From: Devrim GÜNDÜZ
Date:
Subject: 9.1 driver status