Re: ParallelFinish-hook of FDW/CSP (Re: [HACKERS] Steps inside ExecEndGather) - Mailing list pgsql-hackers

From Robert Haas
Subject Re: ParallelFinish-hook of FDW/CSP (Re: [HACKERS] Steps inside ExecEndGather)
Date
Msg-id CA+TgmoaWx7N_YnwKfKJ2a75qSJ2ZrU=A_FWXzsA8VJRv=uveqA@mail.gmail.com
Whole thread Raw
In response to Re: ParallelFinish-hook of FDW/CSP (Re: [HACKERS] Steps inside ExecEndGather)  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Responses Re: ParallelFinish-hook of FDW/CSP (Re: [HACKERS] Steps inside ExecEndGather)
List pgsql-hackers
On Fri, Feb 24, 2017 at 7:29 PM, Kohei KaiGai <kaigai@kaigai.gr.jp> wrote:
> This attached patch re-designed the previous v2 according to Robert's comment.
> All I had to do is putting entrypoint for ForeignScan/CustomScan at
> ExecShutdownNode,
> because it is already modified to call child node first, earlier than
> ExecShutdownGather
> which releases DSM segment.

Aside from the documentation, which needs some work, this looks fine
to me on a quick read.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] utility commands benefiting from parallel plan
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] FYI: git worktrees as replacement for "rsync the CVSROOT"