Hi Michael, Thanks for looking at both patches, and for the tip about splitting threads.
v2 only changes the comment in 0001. It now says why the wait comes before the detach, and why the error queues can still go first. For 0002, Tomas posted the same fix in [1]. His version also covers lock_timeout, and a timeout that fires while it is being disabled. So I'd suggest we continue that part there, and v2 leaves 0002 out. [1] https://postgr.es/m/[email protected] Thanks, Shihao
v2-0001-Detach-the-parallel-DSM-segment-after-the-workers-ha.patch
Description: Binary data
