Re: superusers are members of all roles?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: superusers are members of all roles?
Date: 2011-09-12 01:40:13
Message-ID: 4E6D62FD.4070908@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/09/2011 11:34 PM, Bruce Momjian wrote:
> Robert Haas wrote:
>> On Sat, May 7, 2011 at 11:42 PM, Bruce Momjian<bruce(at)momjian(dot)us> wrote:
>>> Is this a TODO?
>> I think so.
> Added to TODO:
>
> Address problem where superusers are assumed to be members of all groups
>
> http://archives.postgresql.org/pgsql-hackers/2011-04/msg00337.php

This turns out to be a one-liner.

Patch attached.

cheers

andrew

Attachment Content-Type Size
nosuperhbagroup.patch text/x-patch 700 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2011-09-12 02:32:07 Re: superusers are members of all roles?
Previous Message Tom Lane 2011-09-11 21:22:26 Re: [WIP] Caching constant stable expressions per execution