From: Kris Jurka <books@ejurka.com>
To: Paolo Predonzani <paolo.predonzani@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: escapeQuotes causes faults in DatabaseMataData
Date: Fri, 3 Feb 2006 16:12:42 -0500 (EST)
Message-ID: <Pine.BSO.4.61.0602031610450.9876@leary.csoft.net> (raw)
In-Reply-To: <1138985682.7276.24.camel@localhost.localdomain>
References: <1138985682.7276.24.camel@localhost.localdomain>
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
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: books@ejurka.com, paolo.predonzani@gmail.com
Subject: Re: escapeQuotes causes faults in DatabaseMataData
In-Reply-To: <Pine.BSO.4.61.0602031610450.9876@leary.csoft.net>
References: <1138985682.7276.24.camel@localhost.localdomain> <Pine.BSO.4.61.0602031610450.9876@leary.csoft.net>
* 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