Re: PGStatement#setPrepareThreshold

From: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Dave Cramer <pg(at)fastcrypt(dot)com>, Oliver Jowett <oliver(at)opencloud(dot)com>, Postgres JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: PGStatement#setPrepareThreshold
Date: 2006-08-04 16:26:56
Message-ID: 1154708816.21451.112.camel@coppola.muc.ecircle.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> Right, but do we want to repeat the statement for every bind case?

I'm talking only for myself, but printing the parameter values alone
would be already a huge win. I enable the printing of IP+port in the
logs, so I can easily trace back the parameters to the statement if the
statement is logged too...

On the other hand, I usually only enable statement logging with
log_min_duration_statement, and there I would like to see both statemnt
and params... would that work ?

Thanks,
Csaba.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2006-08-04 16:53:16 Re: PGStatement#setPrepareThreshold
Previous Message Bruce Momjian 2006-08-04 16:23:30 Re: PGStatement#setPrepareThreshold