OSDN Git Service

Fix thinko in previous patch to always update pg_class.reltuples/relpages.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 19 Jun 2011 18:00:48 +0000 (14:00 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 19 Jun 2011 18:00:48 +0000 (14:00 -0400)
commit63513b207df618b52cf0bdf42c1ec3f6e9378f40
tree49cea1621f9e1f79f73bede33cc3e01eb69fbeb0
parent8a8fbe7e799cfc0d8dc5ffef5640df6dac8acd6c
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.
src/backend/commands/analyze.c