Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

This turns out to be a one-liner.

Patch attached.



Attachment: nosuperhbagroup.patch
Description: text/x-patch (700 bytes)

In response to


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group