pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dmitriy Igrishin <dmitigr@gmail.com>
Cc: postgres list <pgsql-sql@postgresql.org>
Subject: Re: DROP RULE ... CASCADE
Date: Tue, 16 Mar 2010 10:24:47 -0400
Message-ID: <8189.1268749487@sss.pgh.pa.us> (raw)
In-Reply-To: <b4399d111003160239q2b48caf7j37822c2a428ab7fe@mail.gmail.com>
References: <b4399d111003160239q2b48caf7j37822c2a428ab7fe@mail.gmail.com>

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



view thread (2+ messages)

Message-ID: <8189.1268749487@sss.pgh.pa.us>
Permalink:  ../8189.1268749487@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8189.1268749487@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dmitigr@gmail.com
  Subject: Re: DROP RULE ... CASCADE
  In-Reply-To: <8189.1268749487@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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