Re: Bug in Role support?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: Pgsql-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Bug in Role support?
Date: 2005-11-04 16:53:22
Message-ID: 14497.1131123202@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Florian G. Pflug" <fgp(at)phlo(dot)org> writes:
> grant admin to fgp ;

> The last statement fails with "role "admin" is a member of role "fgp" -
> but I believe it is not.

> Did I do something wrong, or is this really a bug?

Looks like a bug to me too. I think it's coming from the fact that
is_member_of_role() thinks superusers are members of every role
ex officio ... which is true for permission checking purposes but
we don't want that rule applied here. Will fix.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Fitzpatrick 2005-11-04 17:13:39 Division
Previous Message Alex Turner 2005-11-04 16:49:53 Re: Changing ids conflicting with serial values?