Re: CREATEROLE and role ownership hierarchies - Mailing list pgsql-hackers

From Joshua Brindle
Subject Re: CREATEROLE and role ownership hierarchies
Date
Msg-id CAGB+Vh4cCH5GtGGpTxMnhceC92ijQacF67uP5DRJcK8DFAE5+g@mail.gmail.com
Whole thread Raw
In response to Re: CREATEROLE and role ownership hierarchies  (Mark Dilger <mark.dilger@enterprisedb.com>)
Responses Re: CREATEROLE and role ownership hierarchies
List pgsql-hackers
On Tue, Jan 4, 2022 at 3:39 PM Mark Dilger <mark.dilger@enterprisedb.com> wrote:
>
>
>
> > On Jan 4, 2022, at 9:07 AM, Mark Dilger <mark.dilger@enterprisedb.com> wrote:
> >
> > No, that looks like a bug.
>
> I was able to reproduce that using REASSIGN OWNED BY to cause a user to own itself.  Is that how you did it, or is
thereyet another way to get into that state?
 

I did:
ALTER ROLE brindle OWNER TO brindle;



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql: \dl+ to list large objects privileges
Next
From: Tom Lane
Date:
Subject: Re: [PATCH v2] use has_privs_for_role for predefined roles