BUG #4238: pg_class.relhasindex not updated by vacuum

Поиск
Список
Период
Сортировка
От Lawrence Cohan
Тема BUG #4238: pg_class.relhasindex not updated by vacuum
Дата
Msg-id 200806131434.m5DEY43b085076@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #4238: pg_class.relhasindex not updated by vacuum
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      4238
Logged by:          Lawrence Cohan
Email address:      lawrencec@1shoppingcart.com
PostgreSQL version: 8.2.5
Operating system:   Linux 4.1.1
Description:        pg_class.relhasindex not updated by vacuum
Details:

We rely on this column to build a list of tables restricted to only those
that have indexes to be rebuilt with CONCURRENTLY however the column is not
updated as documentation says by the vacuum. After a successful
analyze/vacuum/analyze against the entire database ALL tables from pg_class
have the pg_class.relhasindex = true even if they don't have any indexes.

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

Предыдущее
От: "Miracapillo Alessandro"
Дата:
Сообщение: R: Purge Oid
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #4238: pg_class.relhasindex not updated by vacuum