Re: Should this require CASCADE? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Should this require CASCADE?
Date
Msg-id 200207110333.g6B3XR300443@candle.pha.pa.us
Whole thread Raw
In response to Re: Should this require CASCADE?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Sounds good to me, and I don't think we need to require RESTRICT just
> > because the standard says so.  Does the standard require RESTRICT for
> > every DROP or just drops that have foreign keys?
> 
> Syntactically, it requires RESTRICT or CASCADE on *every* form of DROP.
> I don't think we're willing to do that...

Yuck, or RESTRICT|CASCADE yuck.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Should this require CASCADE?
Next
From: Tom Lane
Date:
Subject: Okay, how about indexes versus unique/primary constraints?