Re: [HACKERS] How to add a new build-in operator

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] How to add a new build-in operator
Date: 1999-10-05 13:22:01
Message-ID: 37F9FB79.D3AA52B5@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I'm planning to implement a new type of scan,scan by TID.
> It's on TODO * Allow WHERE restriction on ctid.
> First,I want to define an equal operator between TID.
> Seems OID's 1700-1799 are reserved for numeric type.
> Can I use 1800 as its OID ?

Certainly, or perhaps it would be better to recycle an OID from
farther down? We have some open values, and if you only need a few it
would work well.

You probably already know this, but just in case,

cd src/include/catalog
./unused_oids

will help you find some OIDs to use.

- Thomas

--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 1999-10-05 13:59:27 Re: [HACKERS] Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison
Previous Message The Hermit Hacker 1999-10-05 11:52:07 Re: [GENERAL] Re: [PHP3] Re: PostgreSQL vs Mysql comparison