Re: add PROCESS_MAIN to VACUUM

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: add PROCESS_MAIN to VACUUM
Date: 2023-03-07 00:20:12
Message-ID: ZAaDPG9KJXqFU2Sr@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 06, 2023 at 06:12:36PM -0500, Melanie Plageman wrote:
> LGTM.

- * Do the actual work --- either FULL or "lazy" vacuum
+ * If PROCESS_MAIN is set (the default), it's time to vacuum the main
+ * relation. Otherwise, we can skip this part. If required, we'll process
+ * the TOAST table later.

Should we mention that this part could be used for a toast table once
we've already looped once through vacuum_rel() when toast_relid was
set? VACOPT_PROCESS_MAIN is enforced a few lines down the road,
still..
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-03-07 00:28:30 Re: Evaluate arguments of correlated SubPlans in the referencing ExprState
Previous Message Jacob Champion 2023-03-07 00:02:25 Re: [PoC] Let libpq reject unexpected authentication requests