From: Jeff Davis <pgsql@j-davis.com>
To: keith@omniti.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7716: Only owner can drop trigger?
Date: Fri, 30 Nov 2012 16:02:04 -0800
Message-ID: <1354320124.1766.123.camel@sussancws0025> (raw)
In-Reply-To: <E1TeaD4-0004le-Vd@wrigleys.postgresql.org>
References: <E1TeaD4-0004le-Vd@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Fri, 2012-11-30 at 23:41 +0000, keith@omniti.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 7716
> Logged by: Keith Fiske
> Email address: keith@omniti.com
> PostgreSQL version: 9.2.1
> Operating system: Any
> Description:
>
> This is documented in the DROP TRIGGER section of the documentation, but it
> doesn't seem to make any sense. If a role has permission to create a
> trigger, why can that same role not have the same permissions to drop it,
> even if that role doesn't own the table?
My guess is that it's to prevent someone from dropping a trigger created
by someone else.
I agree that it's inconsistent. I'm not sure why they added the separate
"TRIGGER" privilege in the first place, but it was done more than 10
years ago.
Regards,
Jeff Davis
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: pgsql@j-davis.com, keith@omniti.com
Subject: Re: BUG #7716: Only owner can drop trigger?
In-Reply-To: <1354320124.1766.123.camel@sussancws0025>
References: <E1TeaD4-0004le-Vd@wrigleys.postgresql.org> <1354320124.1766.123.camel@sussancws0025>
* 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