On Mon, Mar 6, 2017 at 8:21 AM, Amit Kapila <amit.kapil...@gmail.com> wrote: > 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.
Thanks for the report and patch. Committed. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers