Re: User-friendliness for DROP RESTRICT/CASCADE - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: User-friendliness for DROP RESTRICT/CASCADE
Date
Msg-id 006001c21d8c$9a52f4b0$0200a8c0@SOL
Whole thread Raw
In response to User-friendliness for DROP RESTRICT/CASCADE  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> DROP TYPE widget RESTRICT; -- fail
> NOTICE:  operator <% depends on type widget
> NOTICE:  operator >% depends on type widget
> NOTICE:  operator >=% depends on type widget
> ERROR:  Cannot drop type widget because other objects depend on it
> Use DROP ... CASCADE to drop the dependent objects too
> 
> Any objections?

That looks pretty sweet to me...

Chris






pgsql-hackers by date:

Previous
From: Justin Clift
Date:
Subject: Re: Nextgres?
Next
From: Curt Sampson
Date:
Subject: Re: Democracy and organisation : let's make a