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>
<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>