From: Oliver Jowett <oliver@opencloud.com>
To: j.random.programmer <javadesigner@yahoo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: 8.2dev-500.jdbc3 driver: PreparedStatement.toString()
Date: Tue, 20 Dec 2005 07:05:28 +0000
Message-ID: <43A7AD38.7040906@opencloud.com> (raw)
In-Reply-To: <20051219233608.15135.qmail@web32002.mail.mud.yahoo.com>
References: <20051219233608.15135.qmail@web32002.mail.mud.yahoo.com>
j.random.programmer wrote:
> Oliver:
>
>
>>I don't think the driver or the spec has ever
>>claimed that toString()
>>gives you a valid SQL statement.
>
>
> True :-)
>
> However, note that it *used* to do so. This is a
> regression from the past driver. And it would
> be nice to have anyway, won't it ?
Perhaps, but there are some implementation hurdles that mean it's not
really worth it (for example: what if a parameter is actually a binary
stream, and we're not reading it ahead of time?)
If you have a patch to do this, though, we can certainly look at
applying it.
-O
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: oliver@opencloud.com, javadesigner@yahoo.com
Subject: Re: 8.2dev-500.jdbc3 driver: PreparedStatement.toString()
In-Reply-To: <43A7AD38.7040906@opencloud.com>
References: <20051219233608.15135.qmail@web32002.mail.mud.yahoo.com> <43A7AD38.7040906@opencloud.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