Re: Default Roles - Mailing list pgsql-hackers

From Noah Misch
Subject Re: Default Roles
Date
Msg-id 20160418000403.GA1961272@tornado.leadboat.com
Whole thread Raw
In response to Re: Default Roles  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Default Roles  (Noah Misch <noah@leadboat.com>)
Re: Default Roles  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On Thu, Apr 07, 2016 at 03:50:47PM -0400, Stephen Frost wrote:
> I'm planning to continue going over the patch tomorrow morning with
> plans to push this before the feature freeze deadline.

> --- a/src/test/regress/expected/rolenames.out
> +++ b/src/test/regress/expected/rolenames.out

> +GRANT testrol0 TO pg_abc; -- error
> +ERROR:  role "pg_abc" is reserved
> +DETAIL:  Cannot GRANT roles to a reserved role.

The server still accepts "ALTER ROLE testrol0 USER pg_signal_backend".  It
should block this ALTER ROLE if it blocks the corresponding GRANT.



pgsql-hackers by date:

Previous
From: Robins Tharakan
Date:
Subject: Re: Pgbench with -f and -S
Next
From: Kevin Grittner
Date:
Subject: Re: snapshot too old, configured by time