Re: pgsql: Restrict the use of temporary namespace in two-phase transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Restrict the use of temporary namespace in two-phase transaction
Дата
Msg-id 25291.1547773687@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Restrict the use of temporary namespace in two-phasetransaction  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-committers
Michael Paquier <michael@paquier.xyz> writes:
> I have been monitoring the buildfarm and crake is complaining:
> https://buildfarm.postgresql.org/cgi-bin/show_history.pl?nm=crake&br=HEAD

> I am actually amazed to see the planner choose a parallel plan for
> that,

That's due to force_parallel_mode = regress, I imagine.

> Anyway, it seems to me that this is pointing out to another issue:
> current_schema() can trigger a namespace creation, hence shouldn't we
> mark it as PARALLEL UNSAFE and make sure that we never run into this
> problem?

That seems a bit annoying, but maybe we have little choice?

            regards, tom lane


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Restrict the use of temporary namespace in two-phasetransaction
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Enforce non-parallel plan when calling current_schema() innewly