Re: DROP RULE ... CASCADE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
Cc: postgres list <pgsql-sql(at)postgresql(dot)org>
Subject: Re: DROP RULE ... CASCADE
Date: 2010-03-16 14:24:47
Message-ID: 8189.1268749487@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Dmitriy Igrishin <dmitigr(at)gmail(dot)com> writes:
> What objects may depend on the rule (and which of them will removed via
> cascade rule deletion)?

At present I don't think that a rule can have any dependent objects.
The CASCADE option is there for symmetry and future-proofing.
(The same goes for some other types of objects, too.)

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2010-03-16 16:16:04 Re: Rename Index - Deadlock
Previous Message Dmitriy Igrishin 2010-03-16 09:59:07 SQL code beautifier for PostgreSQL.