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

Поиск
Список
Период
Сортировка
От heikki@postgresql.org (Heikki Linnakangas)
Тема pgsql: Update relpages and reltuples estimates in stand-alone ANALYZE,
Дата
Msg-id 20090519083001.046F775331D@cvs.postgresql.org
обсуждение исходный текст
Список 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.

Modified Files:
--------------
    pgsql/src/backend/commands:
        analyze.c (r1.136 -> r1.137)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/analyze.c?r1=1.136&r2=1.137)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix bug #4814 (wrong subscript in consistent-function call), and
Следующее
От: heikki@postgresql.org (Heikki Linnakangas)
Дата:
Сообщение: pgsql: Update relpages and reltuples estimates in stand-alone ANALYZE,