Re: Table referenced by OID in a view?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Table referenced by OID in a view?
Дата
Msg-id 200212201731.06132.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Table referenced by OID in a view?  (Ron Johnson <ron.l.johnson@cox.net>)
Ответы Re: Table referenced by OID in a view?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Table referenced by OID in a view?  (Ron Johnson <ron.l.johnson@cox.net>)
Список pgsql-novice
Ron,

> I don't know about other commercial RDBMSs, but some have this:
> DROP TABLE <foo> CASCADE
>
> Thus, any views, constraints, triggers, etc, that refer to <foo> get
> dropped automatically when the table is dropped.  This seems to be a
> step beyond what you mention for v7.4.  (Of course, all the deleteted
> objects are listed as they are deleted, so you can easily recreate
> them...

Hmmm.  Not sure this is planned; I personally would not want to *ever* use a
"DROP TABLE CASCADE".   Not up to me, though.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Readline causing grief in build
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Table referenced by OID in a view?