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

From Nathan Bossart
Subject Re: Disabling vacuum truncate for autovacuum
Date
Msg-id Z9g8a4HGLUcSo96v@nathan
Whole thread Raw
In response to Re: Disabling vacuum truncate for autovacuum  (Robert Treat <rob@xzilla.net>)
Responses Re: Disabling vacuum truncate for autovacuum
List pgsql-hackers
On Sun, Mar 16, 2025 at 06:24:59PM -0400, Robert Treat wrote:
> So if the general idea is a guc "vacuum_truncate" which sets a global
> default for whether vacuums and autovacuums should do truncation, and
> we then have the storage parameter which would override the global
> setting. And to be clear, there is also the decision on whether the
> VACUUM commands default should default to truncate=on (like the
> existing behavior) or truncate == vacuum_truncate guc, unless
> explicitly set. I think the latter is probably the right way to go.

Thank you all for the discussion.  I've attempted to address the
outstanding feedback into the new version of the patch.

-- 
nathan

Attachment

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Forbid to DROP temp tables of other sessions
Next
From: Matthias van de Meent
Date:
Subject: Re: Incorrect result of bitmap heap scan.