Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Mar 6, 2017 at 8:21 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
>> On Fri, Mar 3, 2017 at 9:27 AM, Robert Haas <rhaas@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.
Hmm, maybe this also explains skink's recent failure in the
select_parallel test. I was going to go try to duplicate that, but
now maybe I'll just wait to see if its next run is green.
regards, tom lane