From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
---|---|
To: | Keith Fiske <keith(at)omniti(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #7716: Only owner can drop trigger? |
Date: | 2012-12-01 01:51:02 |
Message-ID: | 1354326662.1766.127.camel@sussancws0025 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Fri, 2012-11-30 at 20:08 -0500, Keith Fiske wrote:
> So then don't give that other role trigger permissions if you don't
> want them to be able to drop a trigger. I'm actually thankful for the
> trigger permission since it allows the extension I'm working on to
> create triggers on tables the role doesn't own. But now it only
> half-works because it can't clean up after itself when the trigger
> needs to be dropped.
Allowing any user with TRIGGER privileges to drop a trigger seem like a
reasonable change to me. The only alternative I can think of (aside from
dropping the separate TRIGGER privilege) is to track the owner of the
trigger separately from the owner of the table, but that would be
strange, too.
Regards,
Jeff Davis
From | Date | Subject | |
---|---|---|---|
Next Message | Cédric Villemain | 2012-12-01 14:13:49 | extension installation faillure using VPATH and MODULEDIR |
Previous Message | Keith Fiske | 2012-12-01 01:08:16 | Re: BUG #7716: Only owner can drop trigger? |