Missed parallelism option in plpgsql?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Missed parallelism option in plpgsql?
Дата
Msg-id 4334.1513797985@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Missed parallelism option in plpgsql?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
I happened to notice that while writing this in plpgsql
will consider a parallel plan:

    select count(*) into s from tenk1 where ten = x;

writing this will not:

    s := count(*) from tenk1 where ten = x;

Is that intentional?  Seems to me these cases ought to be
treated the same.

The reason for it is that exec_assign_expr's call of
exec_prepare_plan does not specify CURSOR_OPT_PARALLEL_OK.

            regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Cost Model
Следующее
От: neto brpr
Дата:
Сообщение: Re: Cost Model