I have rebased the patch (parallel_index_scan_v2) based on latest commit e8ac886c (condition variables). I have removed the usage of ConditionVariablePrepareToSleep as that is is no longer mandatory. I have also updated docs for wait event introduced by this patch (thanks to Dilip for noticing it). There is no change in parallel_index_opt_exec_support patch, but just attaching here for easier reference.