Re: Disabling vacuum truncate for autovacuum - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Disabling vacuum truncate for autovacuum
Date
Msg-id Z9rlb0jgNLm8ULAB@nathan
Whole thread Raw
In response to Re: Disabling vacuum truncate for autovacuum  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Responses Re: Disabling vacuum truncate for autovacuum
List pgsql-hackers
On Thu, Mar 20, 2025 at 12:34:59AM +0900, Fujii Masao wrote:
> +# - Default Behavior -
> +
> +#vacuum_truncate = on            # enable truncation after vacuum
> 
> Since there's no existing GUC category that fits to vacuum_truncate,
> I'm fine with adding a new category like "Vacuuming" and placing
> vacuum_truncate there.
> 
> However, if we do this, ISTM that the new category should also be added to
> guc_tables.h, and vacuum_truncate should be assigned to it in guc_tables.c.
> Additionally, the documentation should be updated to include
> the new category, with vacuum_truncate placed under it. Thought?

Ah, you're right, I need to fix the category.  Will post an updated patch
soon.

-- 
nathan



pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: making EXPLAIN extensible
Next
From: Andres Freund
Date:
Subject: Re: optimize file transfer in pg_upgrade