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

From Tom Lane
Subject Re: BUG #5906: assertion failure in AtCleanup_Portals
Date
Msg-id 12452.1299175531@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #5906: assertion failure in AtCleanup_Portals  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-bugs by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: BUG #5867: wish: plpgsql print table for debug
Next
From: Robert Haas
Date:
Subject: Re: BUG #5867: wish: plpgsql print table for debug