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

From Robert Haas
Subject Re: server crashed with TRAP: FailedAssertion("!(!parallel_aware || pathnode->path.parallel_safe)"
Date
Msg-id CA+TgmoYMe+ovO+aHHdAcT3_X+4BhKzFQ4H7swCPvR5_p7kHFuQ@mail.gmail.com
Whole thread Raw
In response to Re: server crashed with TRAP: FailedAssertion("!(!parallel_aware || pathnode->path.parallel_safe)"  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: server crashed with TRAP: FailedAssertion("!(!parallel_aware || pathnode->path.parallel_safe)"
List pgsql-hackers
On Mon, Jun 18, 2018 at 11:36 PM, Amit Kapila <amit.kapila16@gmail.com> wrote:
> Fixed in the attached patch.  I will wait for a day or two to see if
> Tom or Robert wants to say something and then commit.

The patch LGTM but the commit message could perhaps use a little
word-smithing, e.g. "Commit ab72716778 allowed Parallel Append paths
to be generated for a relation that is not parallel safe.  Prevent
that from happening."

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


pgsql-hackers by date:

Previous
From: Ants Aasma
Date:
Subject: Re: WAL prefetch
Next
From: Robert Haas
Date:
Subject: Re: Internal error XX000 with enable_partition_pruning=on, pg 11beta1 on Debian