Re: Should this require CASCADE?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Should this require CASCADE?
Дата
Msg-id 200207110333.g6B3XR300443@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Should this require CASCADE?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Should this require CASCADE?
Следующее
От: Tom Lane
Дата:
Сообщение: Okay, how about indexes versus unique/primary constraints?