Re: comparing index columns

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: comparing index columns
Дата
Msg-id
5474.1181657972@sss.pgh.pa.us
Ответ на
comparing index columns (Pavan Deolasee)
Список
Дерево обсуждения
comparing index columns "Pavan Deolasee" <pavan.deolasee@gmail.com>
Re: comparing index columns Tom Lane <tgl@sss.pgh.pa.us>
Re: comparing index columns Heikki Linnakangas <heikki@enterprisedb.com>
Re: comparing index columns Tom Lane <tgl@sss.pgh.pa.us>
"Pavan Deolasee"  writes:
> I don't have much insight into the operator classes and operator families
> and how they work. Where should I look for the related code ?

Primary opclass members are stored right in the Relation data struct for
you.  Since (I trust) you're only supporting this for btree, you could
just use rd_supportinfo[0] which will not even cost an fmgr lookup.
See index_getprocinfo() and callers.
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Zdenek Kotala
Дата:
От: Alvaro Herrera
Дата:
Сообщение: regress changes
FAQ