Re: duration logging setting in 7.4 - Mailing list pgsql-performance

From Ryszard Lach
Subject Re: duration logging setting in 7.4
Date
Msg-id 20031119192855.GO18018@siaco.id.pl
Whole thread Raw
In response to Re: duration logging setting in 7.4  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: duration logging setting in 7.4  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-performance
On Wed, Nov 19, 2003 at 01:58:27PM -0500, Bruce Momjian wrote:
> Ryszard Lach wrote:
>
> > There is another one thing: logs from the same database running on 7.3 and the same
> > application contained lines like 'select getdatabaseencoding()', 'select
> > datestyle()' and similar (not used by application explicite, probably
> > added by JDBC driver), now they are missed - maybe this is the
> > problem?
>
> No, those are missing because the new 7.4 wire protocol doesn't require
> those queries anymore --- the data is send automatically.
>

Mayby this is a solution? Because of some
charset-related problems we are still using an old (AFAiR modified)
version of JDBC driver. I'm not a programmer, but I think and don't know
what JDBC driver does, but maybe it sends from client side those queries
and server doesn't know what to do with them? I'll ask our programmers
to try with 7.4 driver and tell you about results.

Richard.

--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.

pgsql-performance by date:

Previous
From: Ryszard Lach
Date:
Subject: Re: duration logging setting in 7.4
Next
From: Bruce Momjian
Date:
Subject: Re: duration logging setting in 7.4