pgsql: Update relpages and reltuples estimates in stand-alone ANALYZE, - Mailing list pgsql-committers

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: Update relpages and reltuples estimates in stand-alone ANALYZE,
Date
Msg-id 20090519083024.268CA75331D@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        analyze.c (r1.89.2.2 -> r1.89.2.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/analyze.c?r1=1.89.2.2&r2=1.89.2.3)

pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Update relpages and reltuples estimates in stand-alone ANALYZE,
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Add documentation string for LDFLAGS_SL in configure --help