Re: server crashed with TRAP: FailedAssertion("!(!parallel_aware || pathnode->path.parallel_safe)"

Amit Kapila <amit.kapila16@gmail.com>

From: Amit Kapila <amit.kapila16@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Amit Khandekar <amitdkhan.pg@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, amul sul <sulamul@gmail.com>
Date: 2018-06-22T09:15:01Z
Lists: pgsql-hackers
On Thu, Jun 21, 2018 at 7:21 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Amit Kapila <amit.kapila16@gmail.com> writes:
>> On Thu, Jun 21, 2018 at 11:51 AM, Amit Khandekar <amitdkhan.pg@gmail.com> wrote:
>>> After list_concat, the subpaths no longer has only non-partial paths,
>>> which it is supposed to have. So it anyways should not be used in the
>>> subsequent code in that function. So I think the following change
>>> should be good.
>>> -       foreach(l, subpaths)
>>> +       foreach(l, pathnode->subpaths)
>
> Patch LGTM.
>

Okay, pushed and updated Open Items page as well.

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com


Commits

  1. Improve coding pattern in Parallel Append code.

  2. Support Parallel Append plan nodes.