Re: Determine parallel-safety of partition relations for Inserts

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: Determine parallel-safety of partition relations for Inserts
Дата
Msg-id CA+HiwqEktgGZdsyG_307b3KiZTMRmSgasE6cMkEXB+H6PJamxg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Determine parallel-safety of partition relations for Inserts  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы RE: Determine parallel-safety of partition relations for Inserts  ("tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>)
Re: Determine parallel-safety of partition relations for Inserts  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On Fri, Jan 15, 2021 at 9:59 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
> We want to do this for Inserts where only Select can be parallel and
> Inserts will always be done by the leader backend. This is actually
> the case we first want to implement.

Sorry, I haven't looked at the linked threads and the latest patches
there closely enough yet, so I may be misreading this, but if the
inserts will always be done by the leader backend as you say, then why
does the planner need to be checking the parallel safety of the
*target* table's expressions?

-- 
Amit Langote
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Determine parallel-safety of partition relations for Inserts
Следующее
От: Álvaro Herrera
Дата:
Сообщение: Re: {CREATE INDEX, REINDEX} CONCURRENTLY improvements