On Thu, Mar 4, 2021 at 9:03 AM Amit Kapila <amit.kapil...@gmail.com> wrote: > > I think for Update/Delete, we might not do parallel-safety checks by > calling target_rel_max_parallel_hazard_recurse especially because > partitions are handled differently for Updates and Deletes (see > inheritance_planner()). I think what Dilip is telling doesn't sound > unreasonable to me. So, even, if we want to extend it later by making > some checks specific to Inserts/Updates, we can do it at that time. > The comments you have at that place are sufficient to tell that in the > future we can use those checks for Updates as well. They will need > some adjustment if we remove that check but the intent is clear.
+1 -- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com