Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ac1ae47

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 d143655 commit ac1ae47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/config.sgml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7916,10 +7916,10 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
79167916
Enables the collection of information on the currently
79177917
executing command of each session, along with its identifier and the
79187918
time when that command began execution. This parameter is on by
7919-
default. Note that even when enabled, this information is not
7920-
visible to all users, only to superusers and the user owning
7921-
the session being reported on, so it should not represent a
7922-
security risk.
7919+
default. Note that even when enabled, this information is only
7920+
visible to superusers, members of the
7921+
<literal>pg_read_all_stats</literal> role and the user owning the
7922+
session being reported on, so it should not represent a security risk.
79237923
Only superusers and users with the appropriate <literal>SET</literal>
79247924
privilege can change this setting.
79257925
</para>

0 commit comments

Comments
 (0)