On Wed, 22 Jan 2020 at 11:23, Amit Kapila <amit.kapil...@gmail.com> wrote: > > On Wed, Jan 22, 2020 at 7:14 AM Masahiko Sawada > <masahiko.saw...@2ndquadrant.com> wrote: > > > > Thank you for updating the patch. Yeah MAXDEADTUPLES is better than > > what I did in the previous version patch. > > > > Would you like to resubmit your vacuumdb utility patch for this > enhancement? I see some old version of it and it seems to me that you > need to update that patch. > > + if (optarg != NULL) > + { > + parallel_workers = atoi(optarg); > + if (parallel_workers <= 0) > + { > + pg_log_error("number of parallel workers must be at least 1"); > + exit(1); > + } > + } > > This will no longer be true.
Attached the updated version patch. Regards, -- Masahiko Sawada http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
v36-0001-Add-paralell-P-option-to-vacuumdb-command.patch
Description: Binary data