Re: ALTER COLUMN

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: ALTER COLUMN
Дата
в 17:35:50
Msg-id
Pine.LNX.4.30.0105082321420.759-100000@peter.localdomain
Ответ на
ALTER COLUMN (Fran Fabrizio)
Список
Дерево обсуждения
ALTER COLUMN Fran Fabrizio <ffabrizio@exchange.webmd.net>
Re: ALTER COLUMN Peter Eisentraut <peter_e@gmx.net>
Re: ALTER COLUMN Tom Lane <tgl@sss.pgh.pa.us>
Fran Fabrizio writes:

> What's the best way to alter a column definition after the fact (i.e.
> int8-->int4).  Is the answer dump, drop table, make new table with new
> definition and same name, import data?

Yes.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

В списке pgsql-general по дате отправления
От: Tom Lane
Дата:
От: Tom Lane
Дата:
FAQ