Re: BTree tid operators and opclass - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: BTree tid operators and opclass
Date
Msg-id 200607070027.k670Rmo13370@momjian.us
Whole thread Raw
In response to BTree tid operators and opclass  (Greg Stark <gsstark@mit.edu>)
List pgsql-patches
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 by date:

Previous
From: Greg Stark
Date:
Subject: BTree tid operators and opclass
Next
From: Tom Lane
Date:
Subject: Re: BTree tid operators and opclass