Fix thinko in previous patch to always update pg_class.reltuples/relpages.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 63513b207df618b52cf0bdf42c1ec3f6e9378f40
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-06-19T18:00:48Z
Releases: 9.2.0
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

PathChange+/−
src/backend/commands/analyze.c modified +2 −15