mirror of
https://github.com/postgres/postgres.git
synced 2026-03-28 13:23:48 -04:00
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:
parent
5fa7837d9a
commit
c8b4a3ec08
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue