Re: lots of puzzling log messages - Mailing list pgsql-general

From Michael Fuhr
Subject Re: lots of puzzling log messages
Date
Msg-id 20050420144209.GA74887@winnie.fuhr.org
Whole thread Raw
In response to lots of puzzling log messages  (Dennis Sacks <dennis@illusions.com>)
Responses Re: lots of puzzling log messages  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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/

pgsql-general by date:

Previous
From: fritz-bayer@web.de (Fritz Bayer)
Date:
Subject: Encoding problem
Next
From: Jaqui Greenlees
Date:
Subject: Re: Binary or compiled version?