Re: ALTER TABLE .. < ADD | DROP > OIDS
От
Rod Taylor
Тема
Re: ALTER TABLE .. < ADD | DROP > OIDS
Дата
Msg-id
1039206932.2742.85.camel@jester
Ответ на
Re: ALTER TABLE .. < ADD | DROP > OIDS (Tom Lane)
Список
Дерево обсуждения
ALTER TABLE .. < ADD | DROP > OIDS Rod Taylor <rbt@rbt.ca>
Re: ALTER TABLE .. < ADD | DROP > OIDS Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE .. < ADD | DROP > OIDS Rod Taylor <rbt@rbt.ca>
Re: ALTER TABLE .. < ADD | DROP > OIDS Tom Lane <tgl@sss.pgh.pa.us>
Re: ALTER TABLE .. < ADD | DROP > OIDS Rod Taylor <rbt@rbt.ca>
Re: ALTER TABLE .. < ADD | DROP > OIDS Bruce Momjian <pgman@candle.pha.pa.us>
Re: ALTER TABLE .. < ADD | DROP > OIDS Bruce Momjian <pgman@candle.pha.pa.us>
On Fri, 2002-12-06 at 15:19, Tom Lane wrote: > Rod Taylor writes: > > I wish to create an alter command which will allow a table to have OIDs > > added or removed. > > > The tricky part appears to be changing the tuples themselves. > There might be a few places that look at the pg_class.relhasoids > field where they should be examining the tuple header has-oid bit, > but I don't think there are many. Ok.. If you think thats safe, I'll give it a try. I was afraid that the system would confuse itself if the table had mix and matched tuples in it. New tuples without oids, old tuples with. That helps DROP OID. How about ADD OID? -- Rod Taylor PGP Key: http://www.rbt.ca/rbtpub.asc
В списке pgsql-performance по дате отправления