Re: PGStatement#setPrepareThreshold

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Oliver Jowett <oliver(at)opencloud(dot)com>, Csaba Nagy <nagy(at)ecircle-ag(dot)com>, Postgres JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: PGStatement#setPrepareThreshold
Date: 2006-08-04 16:53:16
Message-ID: DAE89B51-CCA0-4D86-910F-0D9966622C89@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


On 4-Aug-06, at 12:19 PM, Tom Lane wrote:

> Bruce Momjian <bruce(at)momjian(dot)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
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2006-08-04 17:42:53 Re: PGStatement#setPrepareThreshold
Previous Message Csaba Nagy 2006-08-04 16:26:56 Re: PGStatement#setPrepareThreshold