1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-18 04:29:09 +03:00

Fix incorrect comment regarding mod_since_analyze

Author: Yugo Nagata <nagata@sraoss.co.jp>
Discussion: https://postgr.es/m/20250804140120.280c2d6a9d2ea687cd167743@sraoss.co.jp
This commit is contained in:
David Rowley
2025-08-04 17:43:22 +12:00
parent fd5a1a0c3e
commit bca9a1900c

View File

@@ -690,8 +690,8 @@ do_analyze_rel(Relation onerel, const VacuumParams params,
* only do it for inherited stats. (We're never called for not-inherited * only do it for inherited stats. (We're never called for not-inherited
* stats on partitioned tables anyway.) * stats on partitioned tables anyway.)
* *
* Reset the changes_since_analyze counter only if we analyzed all * Reset the mod_since_analyze counter only if we analyzed all columns;
* columns; otherwise, there is still work for auto-analyze to do. * otherwise, there is still work for auto-analyze to do.
*/ */
if (!inh) if (!inh)
pgstat_report_analyze(onerel, totalrows, totaldeadrows, pgstat_report_analyze(onerel, totalrows, totaldeadrows,