Re: BUG #5906: assertion failure in AtCleanup_Portals

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: YAMAMOTO Takashi <yamt(at)mwd(dot)biglobe(dot)ne(dot)jp>
Cc: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5906: assertion failure in AtCleanup_Portals
Date: 2011-03-03 18:05:31
Message-ID: 12452.1299175531@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I wrote:
> We could revert the addition of the "cleanup == NULL" assert in
> AtCleanup_Portals, but I'm still feeling that that assertion is a good
> thing. Maybe the cleanest fix is to have PortalRun do something to run
> the cleanup hook where it does this:
> /* Prevent portal's commands from being re-executed */
> portal->status = PORTAL_DONE;

Fixed that way. Thanks for the report!

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2011-03-03 18:12:08 Re: BUG #5867: wish: plpgsql print table for debug
Previous Message Pavel Stehule 2011-03-03 17:54:40 Re: BUG #5867: wish: plpgsql print table for debug