From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Dave Cramer <pg(at)fastcrypt(dot)com>, 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:23:30 |
Message-ID: | 200608041623.k74GNUh27939@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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.
Sure, I can do that.
Did you like my idea of?
statement: <protocol execute> ...
You didn't reply. I want to keep the "statement:" prefix for scripts
that process our log files, and because it is output by log_statement,
which controls protocol output as well.
> > 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?
Should we just output text if we have it? How do we know if they
parameters are text? The data type?
--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Csaba Nagy | 2006-08-04 16:26:56 | Re: PGStatement#setPrepareThreshold |
Previous Message | Tom Lane | 2006-08-04 16:19:00 | Re: PGStatement#setPrepareThreshold |