Re: lots of puzzling log messages

From: Kris Jurka <books(at)ejurka(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, Dennis Sacks <dennis(at)illusions(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: lots of puzzling log messages
Date: 2005-04-21 18:59:04
Message-ID: Pine.BSO.4.56.0504211355290.24729@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 20 Apr 2005, Tom Lane wrote:

> > On Tue, Apr 19, 2005 at 05:39:42PM -0700, Dennis Sacks wrote:
> >> I am Seeing twelve of these messages every five to ten seconds in the
> >> Postgresql serverlog when my java application is running:
> >>
> >> 2005-04-19 16:43:03 LOG: 00000: statement: rollback; begin;
> >> LOCATION: pg_parse_query, postgres.c:464
>
> I think older versions of the JDBC driver will do that behind your back
> ... try the latest driver, and if you still see it then inquire on
> pgsql-jdbc.

The latest driver will do that as well, but in two statements now that
transaction end doesn't automatically start a new one immediately. The
difference is that the server doesn't log it for the 8.0 driver because
it prepares the begin/commit/rollback statements just once and executes
them from then on.

Kris Jurka

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Wheeler 2005-04-21 19:55:23 Waiting for Disconnect
Previous Message Peter Wiersig 2005-04-21 18:39:06 Had a problem with pg_clog