pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedDROP RULE ... CASCADE
2+ messages / 2 participants
[nested] [flat]
* DROP RULE ... CASCADE
@ 2010-03-16 09:39 Dmitriy Igrishin <dmitigr@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Dmitriy Igrishin @ 2010-03-16 09:39 UTC (permalink / raw)
To: pgsql-sql
Hey all,
What objects may depend on the rule (and which of them will removed via
cascade rule deletion)?
Regards,
Dmitriy Igrishin
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: DROP RULE ... CASCADE
@ 2010-03-16 14:24 Tom Lane <tgl@sss.pgh.pa.us>
parent: Dmitriy Igrishin <dmitigr@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2010-03-16 14:24 UTC (permalink / raw)
To: Dmitriy Igrishin <dmitigr@gmail.com>; +Cc: pgsql-sql
Dmitriy Igrishin <dmitigr@gmail.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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2010-03-16 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-03-16 09:39 DROP RULE ... CASCADE Dmitriy Igrishin <dmitigr@gmail.com>
2010-03-16 14:24 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox