Re: User-friendliness for DROP RESTRICT/CASCADE

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: <pgsql-hackers(at)postgresql(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Rod Taylor" <rbt(at)zort(dot)ca>
Subject: Re: User-friendliness for DROP RESTRICT/CASCADE
Date: 2002-06-27 03:42:03
Message-ID: 006001c21d8c$9a52f4b0$0200a8c0@SOL
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Clift 2002-06-27 03:44:13 Re: Nextgres?
Previous Message Curt Sampson 2002-06-27 03:37:18 Re: Buffer Management