Re: INSERT INTO SELECT, Why Parallelism is not selected? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: INSERT INTO SELECT, Why Parallelism is not selected?
Date
Msg-id CA+TgmoagAKn8dpjOa4VFk7hZ8H__UpX4uGGWe=umG8or2UgMTQ@mail.gmail.com
Whole thread Raw
In response to INSERT INTO SELECT, Why Parallelism is not selected?  (Dilip Kumar <dilipbalaut@gmail.com>)
Responses Re: INSERT INTO SELECT, Why Parallelism is not selected?  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On Sat, Jul 11, 2020 at 8:37 AM Dilip Kumar <dilipbalaut@gmail.com> wrote:
> I have just notice that the parallelism is off even for the select
> part of the query mentioned in the $subject.  I see the only reason it
> is not getting parallel because we block the parallelism if the query
> type is not SELECT.  I don't see any reason for not selecting the
> parallelism for this query.

There's a relevant comment near the top of heap_prepare_insert().

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Binary support for pgoutput plugin
Next
From: Peter Eisentraut
Date:
Subject: Re: warnings for invalid function casts