Re: Creating indeces on existing tables...

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Creating indeces on existing tables...
Дата
Msg-id 3A789C6E.F1DB34F2@tpf.co.jp
обсуждение исходный текст
Ответ на Creating indeces on existing tables...  ("Steve Wolfe" <steve@iboats.com>)
Список pgsql-general
Steve Wolfe wrote:
>
>   OK, one of my tables was getting duplicate entries, and I thought I'd
> create a unique index on a particular field.  So, I created the index:
>
> domains=# create unique index idx_domain_name on domain (domain_name);
> CREATE
>
> Then, tried a vaccum:
>
> domains=# vacuum analyze;
> NOTICE:  Index idx_domain_name: NUMBER OF INDEX' TUPLES (305) IS NOT THE
> SAME AS HEAP' (311).
>         Recreate the index.
> VACUUM
>

This is a known bug.
Probably there's a long transaction somewhere.
It is fixed in 7.1.

Regards,
Hiroshi Inoue

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

Предыдущее
От: "Dan Wilson"
Дата:
Сообщение: Re: Re: grant privileges to a database
Следующее
От: "Oliver Elphick"
Дата:
Сообщение: Re: trying to back up a database