fix_typo_mod_since_analyze.patch

text/x-diff

Filename: fix_typo_mod_since_analyze.patch
Type: text/x-diff
Part: 0
Message: Fix a typo of mod_since_analyze in do_analyze_rel

Patch

Format: unified
File+
src/backend/commands/analyze.c 1 1
diff --git a/src/backend/commands/analyze.c b/src/backend/commands/analyze.c
index 7111d5d5334..29daa10742e 100644
--- a/src/backend/commands/analyze.c
+++ b/src/backend/commands/analyze.c
@@ -690,7 +690,7 @@ 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
+	 * Reset the mod_since_analyze counter only if we analyzed all
 	 * columns; otherwise, there is still work for auto-analyze to do.
 	 */
 	if (!inh)