Re: pgsql: Handle lack of DSM slots in parallel btree build.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: pgsql: Handle lack of DSM slots in parallel btree build.
Дата
Msg-id CAH2-WzmDABkJzrNnvf+OULK-_A_j9gkYg_Dz-H62jzNv4eKQTw@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: Handle lack of DSM slots in parallel btree build.  (Thomas Munro <tmunro@postgresql.org>)
Ответы Re: pgsql: Handle lack of DSM slots in parallel btree build.  (Thomas Munro <thomas.munro@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add declaration-level assertions for compile-time checks
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: pgsql: Handle lack of DSM slots in parallel btree build.