Vladlen Popolitov <v(dot)popolitov(at)postgrespro(dot)ru> writes:
> d) Above query will start parallel worker(s). When worker(s) finish(es),
> it/they send SIGUSR1 that is caught by debugger. When you dimiss
> the signal message, you find that query continues to run, but really it
> waits (in latch.c or in waiteventset.c depending on commit version).
I'm fairly skeptical of this. IME, when you see something like that,
the actual problem is that the debugger has failed to pass the signal
on to the program-under-test.
> I tracked this behaviour down to commit
> commit 7202d72787d3b93b692feae62ee963238580c877
... and that raises my skepticism to stratospheric levels, because
that commit did exactly nothing that would have changed runtime
behavior.
regards, tom lane