8000 doc: Mention pg_read_all_stats in description of track_activities · postgres/postgres@ee27871 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee27871

Browse files
committed
doc: Mention pg_read_all_stats in description of track_activities
The description of track_activities mentioned that it is visible to superusers and that the information related to the current session can be seen, without telling about pg_read_all_stats. Roles that are granted the privileges of pg_read_all_stats can also see this information, so mention it in the docs. Author: Ian Barwick Reviewed-by: Nathan Bossart Discussion: https://postgr.es/m/CAB8KJ=jhPyYFu-A5r-ZGP+Ax715mUKsMxAGcEQ9Cx_mBAmrPow@mail.gmail.com Backpatch-through: 10
1 parent 6c6ea6e commit ee27871

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/config.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6118,7 +6118,8 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
61186118
executing command of each session, along with the time when
61196119
that command began execution. This parameter is on by
61206120
default. Note that even when enabled, this information is not
6121-
visible to all users, only to superusers and the user owning
6121+
visible to all users, only to superusers, members of the
6122+
<literal>pg_read_all_stats</literal> role and the user owning
61226123
the session being reported on, so it should not represent a
61236124
security risk.
61246125
Only superusers can change this setting.

0 commit comments

Comments
 (0)
0