Re: Table referenced by OID in a view? - Mailing list pgsql-novice

From Josh Berkus
Subject Re: Table referenced by OID in a view?
Date
Msg-id 200212201731.06132.josh@agliodbs.com
Whole thread Raw
In response to Re: Table referenced by OID in a view?  (Ron Johnson <ron.l.johnson@cox.net>)
Responses Re: Table referenced by OID in a view?
Re: Table referenced by OID in a view?
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Readline causing grief in build
Next
From: Tom Lane
Date:
Subject: Re: Table referenced by OID in a view?