Re: BTree tid operators and opclass

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: BTree tid operators and opclass
Date: 2006-07-07 00:27:48
Message-ID: 200607070027.k670Rmo13370@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-07-07 04:16:21 Re: BTree tid operators and opclass
Previous Message Greg Stark 2006-07-06 22:51:51 BTree tid operators and opclass