Re: Feature request: drop rules

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: Thom Brown <thombrown(at)gmail(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Feature request: drop rules
Date: 2010-07-21 13:32:39
Message-ID: AANLkTinomVSOj8LmOlyRqeGYe2BzHiaS31HzXUukKefV@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Wed, Jul 21, 2010 at 2:26 PM, Guillaume Lelarge
<guillaume(at)lelarge(dot)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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Thom Brown 2010-07-21 13:44:09 Re: Feature request: drop rules
Previous Message Guillaume Lelarge 2010-07-21 13:26:54 Re: Feature request: drop rules