From: Justin Pryzby <pryzby@telsasoft.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Bossart, Nathan <bossartn@amazon.com>
Cc: Vik Fearing <vik.fearing@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: k.jamison@fujitsu.com <k.jamison@fujitsu.com>
Subject: Re: Add MAIN_RELATION_CLEANUP and SECONDARY_RELATION_CLEANUP options to VACUUM
Date: Mon, 8 Feb 2021 02:46:45 -0600
Message-ID: <20210208084645.GR7450@telsasoft.com> (raw)
In-Reply-To: <YCDpt53+QCZ+CqEo@paquier.xyz>
References: <BA8951E9-1524-48C5-94AF-73B1F0D7857F@amazon.com>
<657e9792-29b2-9dda-0ea3-73d8ba28b2ac@2ndquadrant.com>
<38EFD769-F653-4D30-9DD6-1A335F4F9232@amazon.com>
<20210127190640.GT30745@telsasoft.com>
<930F06F8-3425-48A2-9A2E-11404BAA2341@amazon.com>
<20210128010815.GA7450@telsasoft.com>
<97F1E30B-98E9-495F-A87E-3C4FEC25D930@amazon.com>
<YBO13CG6m9QB91oy@paquier.xyz>
<855FB31E-5616-4910-BFF2-ABFE24716F50@amazon.com>
<YCDpt53+QCZ+CqEo@paquier.xyz>
On Mon, Feb 08, 2021 at 04:35:19PM +0900, Michael Paquier wrote:
> On Fri, Jan 29, 2021 at 06:43:44PM +0000, Bossart, Nathan wrote:
> > I changed it to PROCESS_TOAST.
>
> Thanks. PROCESS_TOAST sounds good to me at the end for the option
> name, so let's just go with that.
>
> > Done.
>
> While on it, I could not resist with changing VACOPT_SKIPTOAST to
> VACOPT_PROCESS_TOAST on consistency grounds. This is used only in
> four places in the code, so that's not invasive.
+1
> @@ -971,6 +998,7 @@ help(const char *progname)
> printf(_(" --min-mxid-age=MXID_AGE minimum multixact ID age of tables to vacuum\n"));
> printf(_(" --min-xid-age=XID_AGE minimum transaction ID age of tables to vacuum\n"));
> printf(_(" --no-index-cleanup don't remove index entries that point to dead tuples\n"));
> + printf(_(" --no-process-toast skip the TOAST table associated to the table to vacuum, if any\n"));
say "associated WITH"
> + corresponding <literal>TOAST</literal> table for each relation, if one
> + exists. This is normally the desired behavior and is the default.
> + Setting this option to false may be useful when it is necessary to only
Maybe it should say "when it is only necessary to"
But what you've written isn't wrong, depending on what you mean.
> @@ -244,6 +244,21 @@ PostgreSQL documentation
> + Skip the TOAST table associated to the table to vacuum, if any.
associatd with
--
Justin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: pryzby@telsasoft.com, michael@paquier.xyz, bossartn@amazon.com, vik.fearing@2ndquadrant.com, k.jamison@fujitsu.com
Subject: Re: Add MAIN_RELATION_CLEANUP and SECONDARY_RELATION_CLEANUP options to VACUUM
In-Reply-To: <20210208084645.GR7450@telsasoft.com>
References: <BA8951E9-1524-48C5-94AF-73B1F0D7857F@amazon.com> <657e9792-29b2-9dda-0ea3-73d8ba28b2ac@2ndquadrant.com> <38EFD769-F653-4D30-9DD6-1A335F4F9232@amazon.com> <20210127190640.GT30745@telsasoft.com> <930F06F8-3425-48A2-9A2E-11404BAA2341@amazon.com> <20210128010815.GA7450@telsasoft.com> <97F1E30B-98E9-495F-A87E-3C4FEC25D930@amazon.com> <YBO13CG6m9QB91oy@paquier.xyz> <855FB31E-5616-4910-BFF2-ABFE24716F50@amazon.com> <YCDpt53+QCZ+CqEo@paquier.xyz> <20210208084645.GR7450@telsasoft.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox