Re: ALTER TABLE TODO items

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: ALTER TABLE TODO items
Дата
Msg-id 40994463.1020401@archonet.com
обсуждение исходный текст
Ответ на Re: ALTER TABLE TODO items  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ALTER TABLE TODO items
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> 
>>Wow, you can reference different column as part of the alter column.
> 
> 
> Yeah, the USING is actually any arbitrary expression over the old table
> row.  (Getting that to work was a tad tricky...)  So you can view this
> as a full-table UPDATE operation that folds in possible column type changes.

Does that mean I'll want to disable triggers while I do this? Actually, 
if the structure's changing I presume I'll want to drop/recreate my 
triggers anyway (even if they get reparsed like view definitions).

--   Richard Huxton  Archonet Ltd


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Multiple Xids in PGPROC?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ALTER TABLE TODO items