Re: alter table cascade does not give notice about dropped
От | Bruce Momjian |
---|---|
Тема | Re: alter table cascade does not give notice about dropped |
Дата | |
Msg-id | 200407061724.i66HOCt24708@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: alter table cascade does not give notice about dropped (Rajesh Kumar Mallah <mallah@trade-india.com>) |
Список | pgsql-general |
Rajesh Kumar Mallah wrote: > Tom Lane wrote: > > >Rajesh Kumar Mallah <mallah@trade-india.com> writes: > > > > > >>Looks like alter table does not tells about the indexes it dropped > >> > >> > > > >This is intentional --- we don't require you to say CASCADE to get rid > >of an index, either. > > > > I initailly ran the alter table without cascade option , > > it told me there is a dependent view. > > I did cascade , it droped the view and it also dropped a > multicolumn index that contained the column. > > I notified me about the dropped view but not about > the index. > > Is that ok ? I think so. We consider the index to be bound to the table, while the view is more distinct and could include other table references as well. -- 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, Pennsylvania 19073
В списке pgsql-general по дате отправления: