Update relpages and reltuples estimates in stand-alone ANALYZE, even if

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 6432580fdbecd41d8d29998b99a8bf2567f171d1
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2009-05-19T08:30:18Z
Releases: 8.2.14
Update relpages and reltuples estimates in stand-alone ANALYZE, even if
there's no analyzable attributes or indexes. We also used to report 0 live
and dead tuples for such tables, which messed with autovacuum threshold
calculations.

This fixes bug #4812 reported by George Su. Backpatch back to 8.1.

Files

PathChange+/−
src/backend/commands/analyze.c modified +4 −16