Remove unused autovac_table.at_sharedrel

The last use was removed by commit 38f7831d70.  After that, we compute
MyWorkerInfo->wi_sharedrel directly from the pg_class tuple of the table
being vacuumed rather than passing it around.

Author: Yugo Nagata <nagata@sraoss.co.jp>
Discussion: https://postgr.es/m/20260325165734.7ab8e4e55fe4c2f1e55031d9@sraoss.co.jp
This commit is contained in:
Álvaro Herrera 2026-03-25 14:04:33 +01:00
parent 5fa7837d9a
commit c8b4a3ec08
No known key found for this signature in database
GPG key ID: 1C20ACB9D5C564AE

View file

@ -206,7 +206,6 @@ typedef struct autovac_table
double at_storage_param_vac_cost_delay;
int at_storage_param_vac_cost_limit;
bool at_dobalance;
bool at_sharedrel;
char *at_relname;
char *at_nspname;
char *at_datname;
@ -2837,7 +2836,6 @@ table_recheck_autovac(Oid relid, HTAB *table_toast_map,
tab = palloc_object(autovac_table);
tab->at_relid = relid;
tab->at_sharedrel = classForm->relisshared;
/*
* Select VACUUM options. Note we don't say VACOPT_PROCESS_TOAST, so