Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2640579

Browse files
committed
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
1 parent 1b40cee commit 2640579

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/config.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5835,10 +5835,10 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
58355835
executing command of each session, along with the time when
58365836
that command began execution. This parameter is on by
58375837
default. Note that even when enabled, this information is not
5838-
visible to all users, only to superusers, members of the
5839-
<literal>pg_read_all_stats</literal> role and the user owning
5840-
the session being reported on, so it should not represent a
5841-
security risk.
5838+
visible to all users, only to superusers, roles with privileges of the
5839+
<literal>pg_read_all_stats</literal> role and the user owning the
5840+
sessions being reported on (including sessions belonging to a role they
5841+
have the privileges of), so it should not represent a security risk.
58425842
Only superusers can change this setting.
58435843
</para>
58445844
</listitem>

0 commit comments

Comments
 (0)