Re: Fwd: Core dump with nested CREATE TEMP TABLE - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Fwd: Core dump with nested CREATE TEMP TABLE
Date
Msg-id CAB7nPqRyEmtjehrpZFY4ZdkT-ud0G4r1AFg+cWwsnZvfuhHHYg@mail.gmail.com
Whole thread Raw
In response to Re: Fwd: Core dump with nested CREATE TEMP TABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Fwd: Core dump with nested CREATE TEMP TABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers


On Fri, Sep 4, 2015 at 9:57 AM, Tom Lane 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.
 
Let me work on this and see if I can get to a simpler patch.

Oh, OK. Thanks!
--
Michael

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: BRIN INDEX value
Next
From: Amit Kapila
Date:
Subject: Re: Reduce ProcArrayLock contention