Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 5BD68B5E0EE for ; Fri, 9 Sep 2011 08:20:20 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 03911-01-9 for ; Fri, 9 Sep 2011 11:20:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 2A7C1B5E103 for ; Fri, 9 Sep 2011 08:05:17 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R1ytY-0001jl-M8 for pgsql-jdbc@postgresql.org; Fri, 09 Sep 2011 04:05:16 -0700 Date: Fri, 9 Sep 2011 04:05:16 -0700 (PDT) From: dv To: pgsql-jdbc@postgresql.org Message-ID: <1315566316640-4785925.post@n5.nabble.com> In-Reply-To: References: <201102151808.06825.ml-tb@emagixx.de> Subject: Re: Issue getColumns(): Nonstandard use of \\ in a string literal MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.767 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201109/20 X-Sequence-Number: 22138 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.