Re: pg_index updates and SI invalidation

Поиск
Список
Период
Сортировка
От Pavan Deolasee
Тема Re: pg_index updates and SI invalidation
Дата
Msg-id 2e78013d0703271948m6630197dge73acfaf6c4206a2@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_index updates and SI invalidation  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_index updates and SI invalidation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers


On 3/28/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:


It seems a bit brute-force.  Why didn't you use SearchSysCache(INDEXRELID)
the same as RelationInitIndexAccessInfo does?


I tried that initially, but it gets into infinite recursion during initdb.
 

And what's the point of
the extra tuple copy step, instead of assigning the values into the
cache entry immediately?


Oops, sorry. Thats a copy-paste error. We certainly don't need
to copy the tuple.


Thanks,
Pavan

--

EnterpriseDB     http://www.enterprisedb.com

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Warning on contrib/tsearch2
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Patch queue concern