Re: Fix for Index Advisor related hooks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix for Index Advisor related hooks
Дата
Msg-id 24951.1297869908@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix for Index Advisor related hooks  (Gurjeet Singh <singh.gurjeet@gmail.com>)
Ответы Re: Fix for Index Advisor related hooks  (Gurjeet Singh <singh.gurjeet@gmail.com>)
Список pgsql-hackers
Gurjeet Singh <singh.gurjeet@gmail.com> writes:
> I understand that we need to hide guts of an implementation. But without
> this the Index Advisor will have to emulate what LookupOpclassInfo() does
> and that's a lot of code that I am afraid, if emulated by another function
> in Index Advisor, is more prone to obsolecence than calling
> IndexSupportInitialize().

The only reason you'd need that code is if you were trying to construct
a fake Relation structure, which seems unnecessary and undesirable.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fwd: [JDBC] Weird issues when reading UDT from stored function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fix for Index Advisor related hooks