docs: Add command tags for SQL commands
authorStephen Frost <[email protected]>
Fri, 27 Aug 2021 22:25:26 +0000 (18:25 -0400)
committerStephen Frost <[email protected]>
Fri, 27 Aug 2021 22:25:26 +0000 (18:25 -0400)
Commit 6c3ffd6 added a couple new predefined roles but didn't properly
wrap the SQL commands mentioned in the description of those roles with
command tags, so add them now.

Backpatch-through: 14
Reported-by: Michael Banck
Discussion: https://postgr.es/m/606d8b1c.1c69fb81[email protected]

doc/src/sgml/user-manag.sgml

index fe0bdb75999ca5bc15e9182e8759d1260197d77f..7b4b2271734a653709c036af0930449efcec91af 100644 (file)
@@ -520,21 +520,22 @@ DROP ROLE doomed_role;
      <tbody>
       <row>
        <entry>pg_read_all_data</entry>
-       <entry>Read all data (tables, views, sequences), as if having SELECT
-       rights on those objects, and USAGE rights on all schemas, even without
-       having it explicitly.  This role does not have the role attribute
-       <literal>BYPASSRLS</literal> set.  If RLS is being used, an administrator
-       may wish to set <literal>BYPASSRLS</literal> on roles which this role is
-       GRANTed to.</entry>
+       <entry>Read all data (tables, views, sequences), as if having
+       <command>SELECT</command> rights on those objects, and USAGE rights on
+       all schemas, even without having it explicitly.  This role does not have
+       the role attribute <literal>BYPASSRLS</literal> set.  If RLS is being
+       used, an administrator may wish to set <literal>BYPASSRLS</literal> on
+       roles which this role is GRANTed to.</entry>
       </row>
       <row>
        <entry>pg_write_all_data</entry>
-       <entry>Write all data (tables, views, sequences), as if having INSERT,
-       UPDATE, and DELETE rights on those objects, and USAGE rights on all
-       schemas, even without having it explicitly.  This role does not have the
-       role attribute <literal>BYPASSRLS</literal> set.  If RLS is being used,
-       an administrator may wish to set <literal>BYPASSRLS</literal> on roles
-       which this role is GRANTed to.</entry>
+       <entry>Write all data (tables, views, sequences), as if having
+       <command>INSERT</command>, <command>UPDATE</command>, and
+       <command>DELETE</command> rights on those objects, and USAGE rights on
+       all schemas, even without having it explicitly.  This role does not have
+       the role attribute <literal>BYPASSRLS</literal> set.  If RLS is being
+       used, an administrator may wish to set <literal>BYPASSRLS</literal> on
+       roles which this role is GRANTed to.</entry>
       </row>
       <row>
        <entry>pg_read_all_settings</entry>