Re: Default role -> Predefined role

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Bruce Momjian <bruce(at)momjian(dot)us>
Subject: Re: Default role -> Predefined role
Date: 2021-03-31 21:15:27
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


* Daniel Gustafsson (daniel(at)yesql(dot)se) wrote:
> > On 20 Nov 2020, at 22:13, Stephen Frost <sfrost(at)snowman(dot)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.

Alright, now that 3b0c647bbfc52894d979976f1e6d60e40649bba7 has gone in,
we can come back to the topic of renaming default roles to predefined
roles as of v14.

Attached is a patch which does that and adds a section to the obsolete
appendix which should result in the existing links to the default roles
page continuing to work (but going to the page explaining that they've
been renamed to predefined roles) once v14 is released with the update.

Unless there's anything further on this, I'll plan to push in the next
day or so.



Attachment Content-Type Size
rename_def_role_v2.patch text/x-diff 26.3 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Jacobson 2021-03-31 21:16:29 Re: Idea: Avoid JOINs by using path expressions to follow FKs
Previous Message Andrey Borodin 2021-03-31 21:09:43 Re: MultiXact\SLRU buffers configuration