On Fri, Jun 26, 2026 at 07:15:37AM +0800, Chao Li wrote:
> From the implementation, for unprivileged (not super user and not
> pg_read_all_stats role) users, pg_get_multixact_stats doesn't raise
> an error, but just returns all NULL values. The current statement
> doesn't seem to explain that behavior clearly.
>
> How about rephrasing it like this?
> ```
> <para>
> Only superusers and roles with privileges of the
> <literal>pg_read_all_stats</literal> role can see details; other users
> receive null values.
> </para></entry>
> ```
Yeah, that looks like an improvement over the statu-quo. I was
looking for something similar but we don't have many functions hidden
behind a role privilege.
--
Michael