Re: PGStatement#setPrepareThreshold - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: PGStatement#setPrepareThreshold
Date
Msg-id DAE89B51-CCA0-4D86-910F-0D9966622C89@fastcrypt.com
Whole thread Raw
In response to Re: PGStatement#setPrepareThreshold  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PGStatement#setPrepareThreshold  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
On 4-Aug-06, at 12:19 PM, Tom Lane wrote:

> Bruce Momjian <bruce@momjian.us> writes:
>> Dave Cramer wrote:
>>> Bind also has a statement name, as well as a portal name ?
>>>
>>> Ideally I'd like to see the parameters which were bound and the
>>> types, but I suspect I'm reaching here.
>
>> Right, but do we want to repeat the statement for every bind case?
>
> My upthread proposal was to print the statement and portal names
> at bind time.  The current printout is very clearly inadequate.
>
>> The bind parameter printing is on the TODO list.
>
> Yeah, that one's a bit harder to fix :-(  It would be relatively
> easy for the case of parameters supplied in text form, but I'm
> not sure about binary values.  Is JDBC doing anything with binary
> parameter transmission yet?
No we aren't, even if we were, just printing the text values would be
a huge step forward.

Dave
>
>             regards, tom lane
>


pgsql-jdbc by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: PGStatement#setPrepareThreshold
Next
From: Kris Jurka
Date:
Subject: Re: PGStatement#setPrepareThreshold