Re: Parallel CREATE INDEX vs DSM starvation - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Parallel CREATE INDEX vs DSM starvation
Date
Msg-id CAH2-Wzku6Oo3oo9zhz95CwJ7M65G4QzueVFYoJhPZvYUT9bvjQ@mail.gmail.com
Whole thread Raw
In response to Parallel CREATE INDEX vs DSM starvation  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: Parallel CREATE INDEX vs DSM starvation  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On Wed, Jan 29, 2020 at 11:38 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> CreateParallelContext() can return a context with seg == NULL.  That
> causes CREATE INDEX to segfault.  Instead, it should fall back to
> non-parallel build.  See attached.

I guess we can't call _bt_end_parallel() here. So your patch LGTM.

Thanks
-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Parallel CREATE INDEX vs DSM starvation
Next
From: Konstantin Knizhnik
Date:
Subject: Re: [Proposal] Global temporary tables