Re: BUG #5784: CREATE INDEX USING GIN complains about array containing null values yet none exist

Поиск
Список
Период
Сортировка
От Martin Atukunda
Тема Re: BUG #5784: CREATE INDEX USING GIN complains about array containing null values yet none exist
Дата
Msg-id AANLkTikSHA0CvwZsQLNFUXCBVELEmXG_bPCqTnHqwXEN@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #5784: CREATE INDEX USING GIN complains about array containing null values yet none exist  (Andres Freund <andres@anarazel.de>)
Ответы Re: BUG #5784: CREATE INDEX USING GIN complains about array containing null values yet none exist  (Andres Freund <andres@anarazel.de>)
Список pgsql-bugs
> Due to the wonders of MVCC the old row is still available in the heap. Best
> read the docs about what MVCC means. And as pg's indexes don't care about
> visibility it will still try to index the "old" row.
>
>
Thanks andreas,

so, basically, the only way out of this would be to:

1. copy out all the rows
2. truncate the Tables
3. then create the index
4. copy in the rows

- Martin -

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: BUG #5784: CREATE INDEX USING GIN complains about array containing null values yet none exist
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #5784: CREATE INDEX USING GIN complains about array containing null values yet none exist