Re: Feature request: drop rules - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Feature request: drop rules
Date
Msg-id AANLkTinomVSOj8LmOlyRqeGYe2BzHiaS31HzXUukKefV@mail.gmail.com
Whole thread Raw
In response to Re: Feature request: drop rules  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: Feature request: drop rules  (Thom Brown <thombrown@gmail.com>)
List pgadmin-hackers
On Wed, Jul 21, 2010 at 2:26 PM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
>
> Tried it. Still works for me. I'm on Linux, but I don't think it is the
> issue :)

Actually, it might be. pgRule::CanDrop() is calling schema->CanDrop(),
however schema actually contains the table object. I think this is
because rules can exist under tables and views, so originally deriving
them from pgTableObject seemed wrong.


--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Feature request: drop rules
Next
From: Thom Brown
Date:
Subject: Re: Feature request: drop rules