Re: BTree tid operators and opclass

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: BTree tid operators and opclass
Дата
Msg-id
200607070027.k670Rmo13370@momjian.us
Ответ на
Список
Дерево обсуждения
BTree tid operators and opclass Greg Stark <gsstark@mit.edu>
Re: BTree tid operators and opclass Tom Lane <tgl@sss.pgh.pa.us>
Re: BTree tid operators and opclass Greg Stark <gsstark@mit.edu>
Re: BTree tid operators and opclass Bruce Momjian <bruce@momjian.us>
Re: BTree tid operators and opclass Tom Lane <tgl@sss.pgh.pa.us>
Greg Stark wrote:
> 
> Here's a small patch to add the full suite of btree operators for tids and the
> corresponding btree opclass. This came up a while back on -hackers and a few
> people were interested in it at the time. I just had a need for it again so I
> added it.
> 
> I'm not sure how to allocate OIDs. I just looked for the greatest one in the
> various .h files and started from there. It leads to some strange
> discontinuities since there were existing = and <> operators.

Run /include/catalog/unused_oids to see the available OIDs and allocate
a large enough block.

-- 
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-patches по дате отправления
От: Greg Stark
Дата:
От: Tom Lane
Дата:
FAQ