Re: TODO: DROP COLUMN .. CASCADE

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: TODO: DROP COLUMN .. CASCADE
Дата
Msg-id 200303061715.h26HFoR06738@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: TODO: DROP COLUMN .. CASCADE  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: TODO: DROP COLUMN .. CASCADE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Rod Taylor <rbt@rbt.ca> writes:
> > Require DROP COLUMN CASCADE for a column that is part of a multi-column
> > index
> 
> > Do we want the same behaviour for PRIMARY KEY(col1, col2)? CHECK(col1 >
> > col2)? etc. as well?
> 
> Personally I'm not sold on the sensefulness of the TODO item to begin
> with.

The current code just drops any index that inludes the dropped column,
even if the column is the second column in a multi-column index.  Does
that seem OK to you?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Row level stats
Следующее
От: Tom Lane
Дата:
Сообщение: Re: TODO: DROP COLUMN .. CASCADE