Update relpages and reltuples estimates in stand-alone ANALYZE, even if
commite74a1dfa3bd898323787b4935184636f68bfc817
authorheikki <heikki>
Tue, 19 May 2009 08:30:00 +0000 (19 08:30 +0000)
committerheikki <heikki>
Tue, 19 May 2009 08:30:00 +0000 (19 08:30 +0000)
treef33fe47726ff3173d8006bb8ec9bda2c29ebc1fa
parent893e8f4e1961b1d9e349ca2b05bc545b1354bc90
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.
src/backend/commands/analyze.c