Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TeaX5-0000UB-WA for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Dec 2012 00:02:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TeaX5-0006fx-H4 for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Dec 2012 00:02:11 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TeaX5-0006fs-0Z for pgsql-bugs@postgresql.org; Sat, 01 Dec 2012 00:02:11 +0000 Received: from mail-da0-f46.google.com ([209.85.210.46]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TeaX2-0003kp-Ua for pgsql-bugs@postgresql.org; Sat, 01 Dec 2012 00:02:10 +0000 Received: by mail-da0-f46.google.com with SMTP id p5so431181dak.19 for ; Fri, 30 Nov 2012 16:02:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding :x-gm-message-state; bh=Nng4qlNUJCuOEoll8lVWlLU14N/6C0ZHUAEvH+NOOiw=; b=HzPBj065IM828MVTG5iil+Q0nJvBSFP/k2tMcFP6Czzf/rIhImJgePmWBaz+7Ee89G daqsJcT0aJmTMqqd5a3YlG4l3FueWJxcskYaeRG86oTbLiI2AuUoY0016HPHBRT6+o1g kn0LhSkCTp+pke0GLo8+syidnjAbxBj7/uliaKplfsYqFw3eIOD7J78tY8GFO8fTGzV9 53SmRitdQL3b+Bcta8U/+Yw1W5z0bPeWC6zXSgsK6VbFDG4Du4UqCtvnMtppvDz7pONQ E8gjgaaMniNdRobw4Dp+qAla5inddGYyVJQ1Rx78+QHE1iXWzHBKSm8KCH3b0Ed6ttyn ZfsQ== Received: by 10.68.212.106 with SMTP id nj10mr9901775pbc.101.1354320127141; Fri, 30 Nov 2012 16:02:07 -0800 (PST) Received: from ?IPv6:::1? ([2600:3c01::f03c:91ff:fe93:2ae4]) by mx.google.com with ESMTPS id oi3sm3775830pbb.1.2012.11.30.16.02.05 (version=SSLv3 cipher=OTHER); Fri, 30 Nov 2012 16:02:06 -0800 (PST) Subject: Re: BUG #7716: Only owner can drop trigger? From: Jeff Davis To: keith@omniti.com Cc: pgsql-bugs@postgresql.org In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" Date: Fri, 30 Nov 2012 16:02:04 -0800 Message-ID: <1354320124.1766.123.camel@sussancws0025> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkMI3gVa6DpyIbqlPEv4v0uZxN31m6szPcm4lFb2EUB/KT9iyO49/EH2VBk3/s3zD8X8zbY X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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