Re: Assumptions about the number of parallel workers

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Assumptions about the number of parallel workers
Дата
Msg-id 20200206025029.zj7bx7nygtfr53hh@alap3.anarazel.de
обсуждение исходный текст
Ответ на Assumptions about the number of parallel workers  (Antonin Houska <ah@cybertec.at>)
Ответы Re: Assumptions about the number of parallel workers
Список pgsql-hackers
Hi,

On 2020-02-05 10:50:05 +0100, Antonin Houska wrote:
> I can't figure out why ExecGather/ExecGatherMerge do check whether num_workers
> is non-zero. I think the code would be a bit clearer if these tests were
> replaced with Assert() statements, as the attached patch does.

It's probably related to force_parallel_mode. With that we'll IIRC
generate gather nodes even if num_workers == 0.

Greetings,

Andres Freund



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