Re: ALTER TABLE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ALTER TABLE
Дата
Msg-id 19579.1062127333@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ALTER TABLE  (Rod Taylor <rbt@rbt.ca>)
Ответы Re: ALTER TABLE  (Rod Taylor <rbt@rbt.ca>)
Список pgsql-hackers
Rod Taylor <rbt@rbt.ca> writes:
> I've been fiddling away on ALTER TABLE and have a few questions about a
> possible datatype change. Just alter portions.

> I presume I'll need to do a table rewrite. What is the best way to
> change a single datum?  heap_modify() takes a single relation type where
> I will need to deal with different types.  Simply build a new tuple with
> old datums (easy enough)? Do we care about OIDs being renumbered?

Have you consulted the archives?  ISTM we discussed these issues to
death a year or two back.
        regards, tom lane


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Bumping block size to 16K on FreeBSD...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FE/BE Protocol - Specific version