EndTransactionBlock error - Mailing list pgsql-general

From Graeme Merrall
Subject EndTransactionBlock error
Date
Msg-id 001d01bf66c0$e93b6100$899d60cb@inspire.net.nz
Whole thread Raw
List pgsql-general
Hi.
I've been getting the following error in my scripts using transactions to write to pg
NOTICE:  EndTransactionBlock and not inprogress/abort state
 
I didn't see much of it in the archives. I'm using PHPLib and PHP3 which I suspect may be causing the problem, but I need a bit more info. What generates this error? I've tried running up a similar situation using straight pg functions in PHP and it doesn't seem to appear.
What situation causes this error to appear?
The library attempts a connection to the DB with at the same time as calling the function executing a query. Would this cause the error or is it something else.
 
Cheers,
 Graeme

pgsql-general by date:

Previous
From: "Troy Rasiah"
Date:
Subject: join mailing list
Next
From: Ed Loehr
Date:
Subject: Re: [GENERAL] EndTransactionBlock error