summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Bossart2025-11-12 21:13:08 +0000
committerNathan Bossart2025-11-12 21:13:08 +0000
commit180e7abe68040375b77450d389dafbb0f11186e7 (patch)
treedf089a794cee199b79f90c483820e7f974ccf7fd
parentc5c74282f2ea222beb7e07fc91b7afd7a06020c2 (diff)
Remove obsolete autovacuum comment.HEADmaster
This comment seems to refer to some stuff that was removed during development in 2005. Reviewed-by: David Rowley <[email protected]> Reviewed-by: Álvaro Herrera <[email protected]> Discussion: https://postgr.es/m/aRJFDxKJLFE_1Iai%40nathan
-rw-r--r--src/backend/postmaster/autovacuum.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/backend/postmaster/autovacuum.c b/src/backend/postmaster/autovacuum.c
index ed19c74bb19..1c38488f2cb 100644
--- a/src/backend/postmaster/autovacuum.c
+++ b/src/backend/postmaster/autovacuum.c
@@ -3158,11 +3158,6 @@ relation_needs_vacanalyze(Oid relid,
vac_ins_scale_factor * reltuples * pcnt_unfrozen;
anlthresh = (float4) anl_base_thresh + anl_scale_factor * reltuples;
- /*
- * Note that we don't need to take special consideration for stat
- * reset, because if that happens, the last vacuum and analyze counts
- * will be reset too.
- */
if (vac_ins_base_thresh >= 0)
elog(DEBUG3, "%s: vac: %.0f (threshold %.0f), ins: %.0f (threshold %.0f), anl: %.0f (threshold %.0f)",
NameStr(classForm->relname),