Fix thinko in previous patch to always update pg_class.reltuples/relpages.
Tom Lane <tgl@sss.pgh.pa.us>
Fix thinko in previous patch to always update pg_class.reltuples/relpages. I mis-simplified the test where ANALYZE decided if it could get away without doing anything: under the new regime, that's never allowed. Per bug #6068 from Jeff Janes. Back-patch to 8.4, just like previous patch.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/analyze.c | modified | +2 −15 |