diff options
Diffstat (limited to 'src/backend/commands/vacuum.c')
-rw-r--r-- | src/backend/commands/vacuum.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/commands/vacuum.c b/src/backend/commands/vacuum.c index 93039678630..fdd9fb4336e 100644 --- a/src/backend/commands/vacuum.c +++ b/src/backend/commands/vacuum.c @@ -484,7 +484,9 @@ vac_estimate_reltuples(Relation relation, bool is_analyze, /* * If scanned_pages is zero but total_pages isn't, keep the existing value - * of reltuples. + * of reltuples. (Note: callers should avoid updating the pg_class + * statistics in this situation, since no new information has been + * provided.) */ if (scanned_pages == 0) return old_rel_tuples; |