Re: ALTER TABLE - ALTER COLUMN question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ALTER TABLE - ALTER COLUMN question
Дата
Msg-id 17811.1180473419@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ALTER TABLE - ALTER COLUMN question  (Keaton Adams <kadams@mxlogic.com>)
Ответы Re: ALTER TABLE - ALTER COLUMN question  (Keaton Adams <kadams@mxlogic.com>)
Список pgsql-admin
Keaton Adams <kadams@mxlogic.com> writes:
> In this example the created and msg_datetime columns are currently
> defined as TIMESTAMP WITHOUT TIME ZONE and no default.  If the alter
> table for these changes is not in-place then I would want to run it as a
> single alter with all of the changes, such as this, instead of
> individual alters for each change, correct?  (Because each individual
> alter would require another table copy?)

That's why ALTER TABLE has the ability to do more than one thing in
parallel ...

            regards, tom lane

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

Предыдущее
От: Keaton Adams
Дата:
Сообщение: ALTER TABLE - ALTER COLUMN question
Следующее
От: Keaton Adams
Дата:
Сообщение: Re: ALTER TABLE - ALTER COLUMN question