| От | Tom Lane |
|---|---|
| Тема | Re: ALTER TABLE .. < ADD | DROP > OIDS |
| Дата | |
| Msg-id | 12609.1039205944@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | ALTER TABLE .. < ADD | DROP > OIDS (Rod Taylor <rbt@rbt.ca>) |
| Ответы |
Re: ALTER TABLE .. < ADD | DROP > OIDS
|
| Список | pgsql-performance |
Rod Taylor <rbt@rbt.ca> 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.
Are you sure you need to? Methinks the lazy approach of letting them
auto-adjust on next UPDATE should work as well for OIDs as for user
columns.
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.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера