Re: parallel vacuum - few questions on docs, comments and code - Mailing list pgsql-hackers

From Bharath Rupireddy
Subject Re: parallel vacuum - few questions on docs, comments and code
Date
Msg-id CALj2ACVZ=p=RddKvYH=7Tgh9wKD30B4gMwn6CAxk3-aidLiULw@mail.gmail.com
Whole thread Raw
In response to Re: parallel vacuum - few questions on docs, comments and code  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: parallel vacuum - few questions on docs, comments and code
List pgsql-hackers
On Fri, May 21, 2021 at 11:10 AM Amit Kapila <amit.kapila16@gmail.com> wrote:
> I responded on that thread and it seems there is no object to the new
> message. I have a minor comment on your patch:

Thanks Amit!

> - printf(_("  -P, --parallel=PARALLEL_DEGREE  use this many background
> workers for vacuum, if available\n"));
> + printf(_("  -P, --parallel=PARALLEL_WORKERS use this many background
> workers for vacuum, if available\n"));
>
> If the patch changes the vacuumdb code as above then isn't it better
> to change the vacuumdb docs to reflect the same. See below part of
> vacuumdb docs:
> -P parallel_degree
> --parallel=parallel_degree

Changed.

> Also, can you please check if your patch works for PG-13 as well
> because I think it is better to backpatch it?

I'm not sure about backpatching as it is not a critical bug fix. Since
the changes are user visible, I think that it's okay to backpatch.

Anyways, attaching patches for both master and v13 branch. Please
review it further.

With Regards,
Bharath Rupireddy.
EnterpriseDB: http://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: "houzj.fnst@fujitsu.com"
Date:
Subject: RE: Fdw batch insert error out when set batch_size > 65535
Next
From: Peter Smith
Date:
Subject: Re: [HACKERS] logical decoding of two-phase transactions