Re: [HACKERS] static oid

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: dz@cs.unitn.it (Massimo Dal Zotto)
Cc: hackers@postgreSQL.org
Date: 1999-03-24T18:11:54Z
Lists: pgsql-hackers
[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> Hi,
> 
> I need some static oids to add new datatypes and procs to the system catalog.
> Can I just grab the first unused oids or should I choose oids from specific
> ranges for types and procs.

See unused_oids in pg/include.  If you need a sizable range, I recommend
getting a continious range of them from the end.  There is no
partitioning of oids.


-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026