Re: Printing query durations
От | Dave Cramer |
---|---|
Тема | Re: Printing query durations |
Дата | |
Msg-id | C2617EFB-3E07-431A-988A-CEBF85C41544@fastcrypt.com обсуждение исходный текст |
Ответ на | Printing query durations (Kevin Dorne <kevin@catalyst.net.nz>) |
Ответы |
Re: Printing query durations
|
Список | pgsql-jdbc |
Kevin, There is no difference between a jdbc query and a psql query. The backend doesn't know where the query comes from. DAve On 27-Mar-06, at 8:26 PM, Kevin Dorne wrote: > Hello, > > I am having some trouble getting PostgreSQL to log durations with > statements when called through JDBC. They appear just fine with > interactive queries using psql, but the duration field does not > show up > on JDBC queries. > > Is there some configuration I need to pass to the JDBC driver? > > Example output from an interactive query: > LOG: duration: 109.524 ms statement: SELECT count(*) FROM > transaction; > > Example output from a JDBC query: > LOG: statement: SELECT count(*) FROM transaction; > > Cheers, > -k >
В списке pgsql-jdbc по дате отправления: