Re: BUG #5906: assertion failure in AtCleanup_Portals - Mailing list pgsql-bugs

From Itagaki Takahiro
Subject Re: BUG #5906: assertion failure in AtCleanup_Portals
Date
Msg-id AANLkTi=PisvmjhrE2oxJQN1G+g8Sg9fSe_Gg==HHpbES@mail.gmail.com
Whole thread Raw
In response to Re: BUG #5906: assertion failure in AtCleanup_Portals  (yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi))
Responses Re: BUG #5906: assertion failure in AtCleanup_Portals  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Thu, Mar 3, 2011 at 09:14, YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> wrote:
>>> i got the following with my application, which uses
>>> PQsendPrepare+PQsendQueryPrepared for nearly everything
>>> including ROLLBACK.
>
> here's a small test case.

I was able to reproduce the assertion failure.

It looks we call CreatePortal for ROLLBACK, but don't invoke
DropPortal nor AtAbort_Portals before AtCleanup_Portals.

--
Itagaki Takahiro

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #5910: Function pg_get_expr throwing error for non superuser
Next
From: Robert Haas
Date:
Subject: Re: can't build contrib/uuid-ossp