Hi Lakshmi and Hayato,
Thanks a lot for your feedback.
Attached for your consideration is v4, in which I address your remarks.
Hi Mircea, Hayato,
I tested the v4 patch on 19devel with a few different thread/partition combinations.
The updated API looks much better now. I verified that:
-j-j 1 works again as expectedThe workers appear to run concurrently, and VACUUM time remains relatively small in my tests.
Overall, the new approach looks much cleaner and more flexible compared to the earlier versions.
Thanks again for the update.
Best regards,