Enables the collection of information on the currently
executing command of each session, along with its identifier and 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 and the user owning
- the session being reported on, so it should not represent a
- security risk.
+ default. Note that even when enabled, this information is only
+ visible 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.
Only superusers and users with the appropriate <literal>SET</literal>
privilege can change this setting.
</para>