Re: WARNING: 25P01: there is no transaction in progress

From: Bill Moran <wmoran(at)collaborativefusion(dot)com>
To: glynastill(at)yahoo(dot)co(dot)uk
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: WARNING: 25P01: there is no transaction in progress
Date: 2008-10-01 17:02:16
Message-ID: 20081001130216.7c6d69c9.wmoran@collaborativefusion.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In response to Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>:

> Hi Chaps,
>
> I'm getting the aforementioned warning in my logs from a closed source piece of software. The software helps us convert over some old proprietary data files, and it's basically just done a COPY into a newly created table, after the warning it then goes on to create some indexes.
>
> I presume it's issuing some sort of commit or rollback without a begin, however the programs authors are telling me that's not the case and their software is not at fault.
>
> Does anyone know if something else could be causing it?
>
> I've posted a detailed log here:
>
> http://privatepaste.com/cb0iywATbd
>
> .. if someone would be so kind to have a quick look I'd appreciate it. I've posted everything, so it's about 1000 lines. The warnings are on lines 459 and 475.
>
> I've tried to follow the StartTransaction / Endtransaction lines and I don't think I can see an error there. Is there a possibility its something in PortalRunUtility ?

I don't recognize the format of that log output ... it looks a little too
low-level to be practical.

I recommend setting log_statement=all in postgresql.conf. This will log
every statement that's executed to your PG log file, which should give you
an excellent view of what's actually happening.

--
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

wmoran(at)collaborativefusion(dot)com
Phone: 412-422-3463x4023

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-10-01 17:21:54 Re: WARNING: 25P01: there is no transaction in progress
Previous Message Glyn Astill 2008-10-01 16:59:56 Re: WARNING: 25P01: there is no transaction in progress