]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix incorrect comment regarding mod_since_analyze
authorDavid Rowley <drowley@postgresql.org>
Mon, 4 Aug 2025 05:43:22 +0000 (17:43 +1200)
committerDavid Rowley <drowley@postgresql.org>
Mon, 4 Aug 2025 05:43:22 +0000 (17:43 +1200)
Author: Yugo Nagata <nagata@sraoss.co.jp>
Discussion: https://postgr.es/m/20250804140120.280c2d6a9d2ea687cd167743@sraoss.co.jp

src/backend/commands/analyze.c

index 7111d5d5334f2418e9ede32e84f930f705e6bc97..40d66537ad7302c687ca19dfddee99beed6372ca 100644 (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
         * stats on partitioned tables anyway.)
         *
-        * Reset the changes_since_analyze counter only if we analyzed all
-        * columns; otherwise, there is still work for auto-analyze to do.
+        * Reset the mod_since_analyze counter only if we analyzed all columns;
+        * otherwise, there is still work for auto-analyze to do.
         */
        if (!inh)
                pgstat_report_analyze(onerel, totalrows, totaldeadrows,