Michael Paquier <michael.paqu...@gmail.com> writes: > On Fri, Sep 4, 2015 at 9:57 AM, Tom Lane <t...@sss.pgh.pa.us>wrote: >> On reflection I think that the tracking of activeSubid in my patch is >> probably overkill if we're attacking it this way. We can just have >> AtSubAbort_Portals fail any ACTIVE portal regardless of subxact level, >> which is pretty analogous to what AtAbort_Portals has done for a long >> time.
> Tracking the activated subxact looked neat from my side, that's more > consistent with what is done when the portal is marked as ready, > particularly with the new routine introduced. Actually, that idea did not work at all: it caused errors inside plpgsql EXCEPT blocks to try to kill the portal running the outer function call. Ooops. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers