Re: parallelize queries containing subplans
Kuntal Ghosh <kuntalghosh.2007@gmail.com>
From: Kuntal Ghosh <kuntalghosh.2007@gmail.com>
To: Dilip Kumar <dilipbalaut@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>,
Robert Haas <robertmhaas@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-01-19T10:12:26Z
Lists: pgsql-hackers
On Thu, Jan 19, 2017 at 3:19 PM, Kuntal Ghosh <kuntalghosh.2007@gmail.com> wrote: > Since Param is not parallel_safe till now, the SubPlan is also not > parallel_safe. This is why CTE subplans will not be pushed under > Gather. Specifically, Params which are generated using generate_new_param() are not parallel_safe. In the patch, it is marked as parallel-unsafe. -- Thanks & Regards, Kuntal Ghosh EnterpriseDB: http://www.enterprisedb.com
Commits
-
Allow parallel workers to execute subplans.
- 5e6d8d2bbbca 10.0 landed