Re: pg_index updates and SI invalidation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_index updates and SI invalidation
Дата
Msg-id 12696.1175045073@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_index updates and SI invalidation  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Ответы Re: pg_index updates and SI invalidation  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Список pgsql-hackers
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> Here is a patch  which fixes this. We re-read part of the pg_index
> row and update rd_index with the new data. I tested REINDEX and CIC
> and both seems to work fine with the patch applied.

> Tom, does this look good ?

It seems a bit brute-force.  Why didn't you use SearchSysCache(INDEXRELID)
the same as RelationInitIndexAccessInfo does?  And what's the point of
the extra tuple copy step, instead of assigning the values into the
cache entry immediately?
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Patch queue concern
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Warning on contrib/tsearch2