Re: Default role -> Predefined role - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Default role -> Predefined role
Date
Msg-id 64183844-FBF6-4652-922E-7A26030A8170@yesql.se
Whole thread Raw
In response to Default role -> Predefined role  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Default role -> Predefined role
List pgsql-hackers
> On 20 Nov 2020, at 22:13, Stephen Frost <sfrost@snowman.net> wrote:

> Attached is a patch to move from 'default role' terminology to
> 'predefined role' in the documentation.  In the code, I figured it made
> more sense to avoid saying either one and instead opted for just
> 'ROLE_NAME_OF_ROLE' as the #define, which we were very close to (one
> removing the 'DEFAULT' prefix) but didn't actually entirely follow.

Predefined is a much better terminology than default for these roles, makes the
concept a lot clearer.  +1 on this patch.

> I had contemplated calling these 'capabilities' or similar but ended up
> deciding not to- they really are roles, after all.

Agreed, roles is better here.

cheers ./daniel


pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: Wrong check in pg_visibility?
Next
From: David Rowley
Date:
Subject: Re: Hybrid Hash/Nested Loop joins and caching results from subplans