Re: IMMUTABLE and PARALLEL SAFE function markings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: IMMUTABLE and PARALLEL SAFE function markings
Дата
Msg-id 6394.1543293494@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: IMMUTABLE and PARALLEL SAFE function markings  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Nov 26, 2018 at 11:21 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Alternatively, could we postpone the parallelism checks till after
>> function inlining?  Do we even make any before that?

> ... I believe the parallel-safety checks are done very early, and if
> you decide that it's not safe to proceed with parallelism, you can't
> really change your mind later.

What do you consider "very early"?  I do not offhand see a good reason
why we would need to know that before entering query_planner.  Before
that, by definition, we have not made any paths.

            regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: IMMUTABLE and PARALLEL SAFE function markings
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: pg11.1 jit segv