pgsql: Fix thinko in previous patch to always update pg_class.reltuples

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix thinko in previous patch to always update pg_class.reltuples
Date: 2011-06-19 18:01:28
Message-ID: E1QYMJM-0001SY-C6@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/63513b207df618b52cf0bdf42c1ec3f6e9378f40

Modified Files
--------------
src/backend/commands/analyze.c | 17 ++---------------
1 files changed, 2 insertions(+), 15 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-06-19 18:16:56 pgsql: Add REL9_1_STABLE to the set of branches tracked by git_changelo
Previous Message David Fetter 2011-06-19 15:59:18 Re: [COMMITTERS] pgsql: Make external_pid_file world readable