Re: composite types DROP..CASCADE behaviour - bug or intentional?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: composite types DROP..CASCADE behaviour - bug or intentional?
Дата
Msg-id 2641.1234540064@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: composite types DROP..CASCADE behaviour - bug or intentional?  (Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>)
Список pgsql-hackers
Nikhil Sontakke <nikhil.sontakke@enterprisedb.com> writes:
>> Shouldn't the drop cascade have deleted comptype2 itself, instead of just
>> deleting the dependent column? Or this is the expected intentional
>> behaviour?

In the case of a table it's certainly the desired behavior that only
the column and not the whole table goes away.  I don't see why composite
types should act differently.
        regards, tom lane


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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: GIN fast insert
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Database corruption help