Re: assessing parallel-safety - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: assessing parallel-safety
Date
Msg-id CAA4eK1Kpi0v1TUWM93vxDfuOwm7t-hhT6ck-UXVntr_-tGoWrw@mail.gmail.com
Whole thread Raw
In response to Re: assessing parallel-safety  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Fri, Mar 20, 2015 at 11:37 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>
>
> That might be a different crash than the first one you showed.  But it
> looks like the problem here is that the parallel sequential scan patch
> is calling CreateParallelContext even though this is just an EXPLAIN
> and we're not actually running the query.  It shouldn't do that.
> (This might be an argument for postponing CreateParallelContext()
> until run time, as I've suggested before.)
>

Okay, I have postponed the CreateParallelContext() until runtime in
the latest patch posted on Parallel Seq Scan thread.


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

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: assessing parallel-safety
Next
From: Kouhei Kaigai
Date:
Subject: Re: Custom/Foreign-Join-APIs (Re: [v9.5] Custom Plan API)