summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Paquier2022-05-30 01:50:38 +0000
committerMichael Paquier2022-05-30 01:50:38 +0000
commit938548b7545857153190d6509289348051de4892 (patch)
tree75c775bf8288f5e5b23d952b050eae5180a1bd0b /doc
parent1e6802990cdd223ac9d175cd804d6a475aebe5b6 (diff)
doc: Reword description of roles able to view track_activities's info
The information generated when track_activities is accessible to superusers, roles with the privileges of pg_read_all_stats, as well as roles one has the privileges of. The original text did not outline the last point, while the change done in ac1ae47 was unclear about the second point. Per discussion with Nathan Bossart. Discussion: https://postgr.es/m/20220521185743.GA886636@nathanxps13 Backpatch-through: 10
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/config.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 101c6df7ac0..25c4148d0cb 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -7296,10 +7296,10 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
executing command of each session, along with the time when
that command began execution. This parameter is on by
default. Note that even when enabled, this information is not
- visible to all users, only to superusers, members of the
- <literal>pg_read_all_stats</literal> role and the user owning
- the session being reported on, so it should not represent a
- security risk.
+ visible to all users, only to superusers, roles with privileges of the
+ <literal>pg_read_all_stats</literal> role and the user owning the
+ sessions being reported on (including sessions belonging to a role they
+ have the privileges of), so it should not represent a security risk.
Only superusers can change this setting.
</para>
</listitem>