Remove unused at_sharedrel from autovac_table

Started by Yugo Nagata20 days ago4 messageshackers
Jump to latest
#1Yugo Nagata
nagata@sraoss.co.jp

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>

Attachments:

remove_at_sharedrel_from_autovac_table.patchtext/x-diff; name=remove_at_sharedrel_from_autovac_table.patchDownload+0-2
#2Michael Paquier
michael@paquier.xyz
In reply to: Yugo Nagata (#1)
Re: Remove unused at_sharedrel from autovac_table

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

#3Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Michael Paquier (#2)
Re: Remove unused at_sharedrel from autovac_table

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/

#4Michael Paquier
michael@paquier.xyz
In reply to: Alvaro Herrera (#3)
Re: Remove unused at_sharedrel from autovac_table

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