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

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: pgsql: Handle lack of DSM slots in parallel btree build.
Дата
Msg-id CA+hUKGK1teTDFxc8SbQOgXN6rMNmC2TLwg=KXL0YGuM=gfw3AQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Handle lack of DSM slots in parallel btree build.  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: pgsql: Handle lack of DSM slots in parallel btree build.  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-committers
On Wed, Feb 5, 2020 at 6:47 AM Peter Geoghegan <pg@bowt.ie> wrote:
> On Tue, Feb 4, 2020 at 9:42 AM Peter Geoghegan <pg@bowt.ie> wrote:
> > Can we reuse _bt_end_parallel() this time around? It would be easy to
> > add a "bool wait" argument to _bt_end_parallel(). All existing callers
> > would pass true, but when not using parallelism due to the new DSM
> > segment check we'd pass false.
>
> Hmm. I see why you didn't do it that way -- we don't quite have the
> variables set up in the way that _bt_end_parallel() expects them.
>
> This looks good, then.

Thanks.  Pushed.



В списке pgsql-committers по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: pgsql: Handle lack of DSM slots in parallel btree build, take 2.
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: pgsql: Handle lack of DSM slots in parallel btree build.