Update relpages and reltuples estimates in stand-alone ANALYZE, even if
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/analyze.c | modified | +4 −16 |