mirror of
https://github.com/postgres/postgres.git
synced 2025-11-15 03:41:20 +03:00
Remove obsolete autovacuum comment.
This comment seems to refer to some stuff that was removed during development in 2005. Reviewed-by: David Rowley <dgrowleyml@gmail.com> Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de> Discussion: https://postgr.es/m/aRJFDxKJLFE_1Iai%40nathan
This commit is contained in:
@@ -3158,11 +3158,6 @@ relation_needs_vacanalyze(Oid relid,
|
|||||||
vac_ins_scale_factor * reltuples * pcnt_unfrozen;
|
vac_ins_scale_factor * reltuples * pcnt_unfrozen;
|
||||||
anlthresh = (float4) anl_base_thresh + anl_scale_factor * reltuples;
|
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)
|
if (vac_ins_base_thresh >= 0)
|
||||||
elog(DEBUG3, "%s: vac: %.0f (threshold %.0f), ins: %.0f (threshold %.0f), anl: %.0f (threshold %.0f)",
|
elog(DEBUG3, "%s: vac: %.0f (threshold %.0f), ins: %.0f (threshold %.0f), anl: %.0f (threshold %.0f)",
|
||||||
NameStr(classForm->relname),
|
NameStr(classForm->relname),
|
||||||
|
|||||||
Reference in New Issue
Block a user