Re: ALTER TABLE .. < ADD | DROP > OIDS

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: ALTER TABLE .. < ADD | DROP > OIDS
Дата
Msg-id 1039209840.2742.142.camel@jester
обсуждение исходный текст
Ответ на Re: ALTER TABLE .. < ADD | DROP > OIDS  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
> > That helps DROP OID.  How about ADD OID?
>
> What about it?  I think it'll work just like adding a column, except
> that OID will probably read as 0 not NULL if the row hasn't been updated
> yet.  (You could probably make it read as NULL if you wanted though.)

Good point. I forgot new columns were empty by default.

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Вложения

В списке pgsql-performance по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ALTER TABLE .. < ADD | DROP > OIDS
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ORDER BY ... LIMIT.. performance