On 3/28/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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