pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dv <dzenmassta@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Issue getColumns(): Nonstandard use of \\ in a string literal
Date: Fri, 9 Sep 2011 04:05:16 -0700 (PDT)
Message-ID: <1315566316640-4785925.post@n5.nabble.com> (raw)
In-Reply-To: <alpine.BSO.2.00.1103192324270.26039@leary.csoft.net>
References: <201102151808.06825.ml-tb@emagixx.de>
	<alpine.BSO.2.00.1103192324270.26039@leary.csoft.net>

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-tp33...
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.



view thread (4+ messages)  latest in thread

Message-ID: <1315566316640-4785925.post@n5.nabble.com>
Permalink:  ../1315566316640-4785925.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1315566316640-4785925.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: dzenmassta@gmail.com
  Subject: Re: Issue getColumns(): Nonstandard use of \\ in a string literal
  In-Reply-To: <1315566316640-4785925.post@n5.nabble.com>
  References: <201102151808.06825.ml-tb@emagixx.de> <alpine.BSO.2.00.1103192324270.26039@leary.csoft.net> <1315566316640-4785925.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox