Re: escapeQuotes causes faults in DatabaseMataData

From: Kris Jurka <books(at)ejurka(dot)com>
To: Paolo Predonzani <paolo(dot)predonzani(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: escapeQuotes causes faults in DatabaseMataData
Date: 2006-02-03 21:12:42
Message-ID: Pine.BSO.4.61.0602031610450.9876@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Fri, 3 Feb 2006, Paolo Predonzani wrote:

> Hi everybody!
> There is a particular type of input that causes trouble when calling
> DatabaseMetaData's methods such as getTables(), ecc.
>
> The input I'm talking about are strings containing backslash characters
> in situations like the following:
> dbmd.getTables(null, null, "my\\table", types);
>

I've applied your patch to 8.0, 8.1 and HEAD CVS branches. I'll also
note that a search for "my\\table" still won't work because backslash is
the LIKE pattern escape character as well, so you'll need "my\\\\table".

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Carlos Correia 2006-02-04 18:42:46 SET AUTOCOMMIT TO OFF no longer supported
Previous Message Kris Jurka 2006-02-03 19:18:47 Re: why setFloat() changed to Oid.FLOAT8?