Re: [HACKERS] static oid - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] static oid
Date
Msg-id 199903241811.NAA11086@candle.pha.pa.us
Whole thread Raw
In response to static oid  (Massimo Dal Zotto <dz@cs.unitn.it>)
List 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,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] static oid
Next
From: Taral
Date:
Subject: Re: [HACKERS] static oid