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

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(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:21:54
Message-ID: dcc563d10810011021t3355e303ra760888ae1634ae8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 1, 2008 at 10:23 AM, Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk> wrote:
> 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?

If you're using connection pooling it's possible that the a connection
is getting reused and a commit is happening there.

It's not an uncommon practice to do a rollback when first getting a
shared connection to make sure it's fresh and clean...

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2008-10-01 17:26:28 Re: WARNING: 25P01: there is no transaction in progress
Previous Message Bill Moran 2008-10-01 17:02:16 Re: WARNING: 25P01: there is no transaction in progress