Re: DROP PRIVILEGES OWNED BY

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Marko Tiikkaja <marko(at)joh(dot)to>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: DROP PRIVILEGES OWNED BY
Date: 2014-12-15 00:48:52
Message-ID: CAB7nPqSbPZTMgm8zspP2jj5B+1JUwB8odhhSPUbyufR-AoHMwQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Dec 15, 2014 at 9:43 AM, Marko Tiikkaja <marko(at)joh(dot)to> wrote:
> Hi,
>
> This week I had a problem where I wanted to drop only the privileges a
> certain role had in the system, while keeping all the objects. I couldn't
> figure out a reasonable way to do that, so I've attached a patch for this to
> this email. Please consider it for inclusion into 9.5. The syntax is:
>
> DROP PRIVILEGES OWNED BY role [, ...]
>
> I at some point decided to implement it as a new command instead of changing
> DropOwnedStmt, and I think that might have been a mistake. It might have
> made more sense to instead teach DROP OWNED to accept a specification of
> which things to drop. But the proposal is more important than such details,
> I think.
You should consider adding it to the upcoming CF:
https://commitfest.postgresql.org/action/commitfest_view?id=25
Regards,
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2014-12-15 01:07:06 Re: pg_basebackup vs. Windows and tablespaces
Previous Message Marko Tiikkaja 2014-12-15 00:43:40 DROP PRIVILEGES OWNED BY