Re: lots of puzzling log messages

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Dennis Sacks <dennis(at)illusions(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: lots of puzzling log messages
Date: 2005-04-20 14:42:10
Message-ID: 20050420144209.GA74887@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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: duration: 0.246 ms
> LOCATION: exec_simple_query, postgres.c:960
> 2005-04-19 16:43:03 LOG: 00000: statement: rollback; begin;
> LOCATION: pg_parse_query, postgres.c:464

Looks like the application is aborting its transaction (rollback)
and starting a new one (begin). If you're not doing this explicitly
then the API is probably doing it under the hood. If you're logging
queries then you should be able to figure out where this is happening
in the application.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jaqui Greenlees 2005-04-20 14:59:36 Re: Binary or compiled version?
Previous Message Pavel Stehule 2005-04-20 14:34:01 Re: export data into xml