On Fri, Mar 3, 2017 at 9:27 AM, Robert Haas <rh...@postgresql.org> wrote:
> Notify bgworker registrant after freeing worker slot.
>

After this commit, I am seeing parallel queires being stucked on my
windows machine.  I think the notify pid is stale in
ReportBackgroundWorkerExit() as we are freeing the same in
ForgetBackgroundWorker().  Attached patch fixes the problem for me.

Ashutosh Sharma has independently reported (offlist) this problem to me.

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

Attachment: select_parallel_hang_v1.patch
Description: Binary data

-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to