docs: Add command tags for SQL commands

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.3df04.1a99@mx.google.com
This commit is contained in:
Stephen Frost 2021-08-27 18:25:34 -04:00
parent 652804ebde
commit 8f6c110349

View File

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