Re: pgsql: Handle lack of DSM slots in parallel btree build. - Mailing list pgsql-committers

From Peter Geoghegan
Subject Re: pgsql: Handle lack of DSM slots in parallel btree build.
Date
Msg-id CAH2-WzmDABkJzrNnvf+OULK-_A_j9gkYg_Dz-H62jzNv4eKQTw@mail.gmail.com
Whole thread Raw
In response to pgsql: Handle lack of DSM slots in parallel btree build.  (Thomas Munro <tmunro@postgresql.org>)
Responses Re: pgsql: Handle lack of DSM slots in parallel btree build.  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-committers
On Thu, Jan 30, 2020 at 2:34 PM Thomas Munro <tmunro@postgresql.org> wrote:
> Handle lack of DSM slots in parallel btree build.
>
> If no DSM slots are available, a ParallelContext can still be
> created, but its seg pointer is NULL.  Teach parallel btree build
> to cope with that by falling back to a regular non-parallel build,
> to avoid crashing with a segmentation fault.

Uh, this seems to have completely disabled parallel index builds on
the master branch.

-- 
Peter Geoghegan



pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add declaration-level assertions for compile-time checks
Next
From: Thomas Munro
Date:
Subject: Re: pgsql: Handle lack of DSM slots in parallel btree build.