Re: [HACKERS] PG10 transition tables, wCTEs and multiple operations on the same table - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: [HACKERS] PG10 transition tables, wCTEs and multiple operations on the same table
Date
Msg-id CAEepm=1HeXoKEUjaWgHEncVe6yJonhzFtgX21SA_cO9CP2dNfA@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] PG10 transition tables, wCTEs and multiple operations on the same table  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: [HACKERS] PG10 transition tables, wCTEs and multiple operations on the same table
List pgsql-hackers
On Sat, Jun 3, 2017 at 12:10 AM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> I would have expected that to be handled by separate transition tables
> at different query levels, but evidently it isn't.

I am wondering if we need to wrap the execution of a modifying CTE in
AfterTriggerBeginQuery() and AfterTriggerEndQuery().  But I'm not sure
where, and it may be a couple of days before I can dig some more.

-- 
Thomas Munro
http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Effect of changing the value for PARALLEL_TUPLE_QUEUE_SIZE
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Perfomance bug in v10