[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Schema question

Zane C.Bowers wrote:
When creating one and one has not gotten a OID yet, is the any problem
one can run into giving it something random before one can be acquired
if it is for internal use only and is to be changed as soon as one is

Bad idea, but you /should/ be able to use a temporary OID if:
You don't have a collision with an existing OID.
You flush, recreate all records with the temporary OID as soon as you get a real one.
You reload the database after you have the new OID in place.

Your major problem will be getting rid of the temporary OID, because you can not be sure that it will never conflict with an assigned OID that may be used in the future.

-- Perfection is just a word I use occasionally with mustard. --Atom Powers-- Systems Administrator DigiPen Institute of Technology (425) 895-4443