Commit c185a577 authored by Tom Lane's avatar Tom Lane

Revert "docs: change "default role" wording to "predefined role""

This reverts commit 0e936a21.

Per discussion, we can't change the section title without some
web-site work, so revert this change temporarily.

Discussion: https://postgr.es/m/157742545062.1149.11052653770497832538@wrigleys.postgresql.org
parent 4093ff57
...@@ -277,7 +277,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser ...@@ -277,7 +277,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
existence of a session and its general properties such as its sessions user existence of a session and its general properties such as its sessions user
and database are visible to all users. Superusers and members of the and database are visible to all users. Superusers and members of the
built-in role <literal>pg_read_all_stats</literal> (see also <xref built-in role <literal>pg_read_all_stats</literal> (see also <xref
linkend="predefined-roles"/>) can see all the information about all sessions. linkend="default-roles"/>) can see all the information about all sessions.
</para> </para>
<table id="monitoring-stats-dynamic-views-table"> <table id="monitoring-stats-dynamic-views-table">
......
...@@ -483,30 +483,30 @@ DROP ROLE doomed_role; ...@@ -483,30 +483,30 @@ DROP ROLE doomed_role;
</para> </para>
</sect1> </sect1>
<sect1 id="predefined-roles"> <sect1 id="default-roles">
<title>Predefined Roles</title> <title>Default Roles</title>
<indexterm zone="predefined-roles"> <indexterm zone="default-roles">
<primary>role</primary> <primary>role</primary>
</indexterm> </indexterm>
<para> <para>
<productname>PostgreSQL</productname> provides a set of predefined <productname>PostgreSQL</productname> provides a set of default roles
roles which allow access to privileged capabilities and information. which provide access to certain, commonly needed, privileged capabilities
Administrators can GRANT these roles to login and non-login roles, and information. Administrators can GRANT these roles to users and/or
providing those roles with access to the specified capabilities and other roles in their environment, providing those users with access to
information. the specified capabilities and information.
</para> </para>
<para> <para>
The predefined roles are described in <xref linkend="predefined-roles-table"/>. The default roles are described in <xref linkend="default-roles-table"/>.
Note that the specific permissions for each of the predefined roles may Note that the specific permissions for each of the default roles may
change in the future as additional capabilities are added. Administrators change in the future as additional capabilities are added. Administrators
should monitor the release notes for changes. should monitor the release notes for changes.
</para> </para>
<table tocentry="1" id="predefined-roles-table"> <table tocentry="1" id="default-roles-table">
<title>Predefined Roles</title> <title>Default Roles</title>
<tgroup cols="2"> <tgroup cols="2">
<thead> <thead>
<row> <row>
...@@ -565,8 +565,8 @@ DROP ROLE doomed_role; ...@@ -565,8 +565,8 @@ DROP ROLE doomed_role;
<literal>pg_read_all_stats</literal> and <literal>pg_stat_scan_tables</literal> <literal>pg_read_all_stats</literal> and <literal>pg_stat_scan_tables</literal>
roles are intended to allow administrators to easily configure a role for the roles are intended to allow administrators to easily configure a role for the
purpose of monitoring the database server. They grant a set of common privileges purpose of monitoring the database server. They grant a set of common privileges
allowing the role to read configuration settings, statistics, and other allowing the role to read various useful configuration settings, statistics and
system information normally restricted to superusers. other system information normally restricted to superusers.
</para> </para>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment