Thread

Commits

  1. Remove unused autovac_table.at_sharedrel

  2. Avoid holding AutovacuumScheduleLock while rechecking table statistics.

  3. Fix autovacuum for shared relations

  1. Remove unused at_sharedrel from autovac_table

    Yugo Nagata <nagata@sraoss.co.jp> — 2026-03-25T07:57:34Z

    Hi,
    
    I've attached a trivial patch that removes at_sharedrel from autovac_table.
    This field was introduced in commit 15739393e4 to handle skipping of
    shared relations in autovacuum, but it has been unused since commit
    38f7831d70.
    
    Regards,
    Yugo Nagata
    
    -- 
    Yugo Nagata <nagata@sraoss.co.jp>
    
  2. Re: Remove unused at_sharedrel from autovac_table

    Michael Paquier <michael@paquier.xyz> — 2026-03-25T08:02:19Z

    On Wed, Mar 25, 2026 at 04:57:34PM +0900, Yugo Nagata wrote:
    > I've attached a trivial patch that removes at_sharedrel from autovac_table.
    > This field was introduced in commit 15739393e4 to handle skipping of
    > shared relations in autovacuum, but it has been unused since commit
    > 38f7831d70.
    
    Indeed, yes.  There is no need for it.
    --
    Michael
    
  3. Re: Remove unused at_sharedrel from autovac_table

    Álvaro Herrera <alvherre@kurilemu.de> — 2026-03-25T17:27:38Z

    On 2026-Mar-25, Michael Paquier wrote:
    
    > On Wed, Mar 25, 2026 at 04:57:34PM +0900, Yugo Nagata wrote:
    > > I've attached a trivial patch that removes at_sharedrel from autovac_table.
    > > This field was introduced in commit 15739393e4 to handle skipping of
    > > shared relations in autovacuum, but it has been unused since commit
    > > 38f7831d70.
    > 
    > Indeed, yes.  There is no need for it.
    
    Pushed (before seeing this email of yours).
    
    -- 
    Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
    
    
    
    
  4. Re: Remove unused at_sharedrel from autovac_table

    Michael Paquier <michael@paquier.xyz> — 2026-03-25T23:09:34Z

    On Wed, Mar 25, 2026 at 06:27:38PM +0100, Alvaro Herrera wrote:
    > Pushed (before seeing this email of yours).
    
    No worries, I had this one saved locally in my stack for trivial
    changes.  I'll just rebase.  Thanks for the override.
    --
    Michael