Re: composite types DROP..CASCADE behaviour - bug or intentional? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: composite types DROP..CASCADE behaviour - bug or intentional?
Date
Msg-id 2641.1234540064@sss.pgh.pa.us
Whole thread Raw
In response to Re: composite types DROP..CASCADE behaviour - bug or intentional?  (Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>)
List 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 by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: GIN fast insert
Next
From: Tom Lane
Date:
Subject: Re: Database corruption help