On Thu, Aug 13, 2026 at 07:47:06PM -0500, Sami Imseih wrote:
> I agree. At least the leader_pid should not be permission controlled and we
> should
> be able to perform the aggregation as we do in v3- at the sql level. Other
> fields like
> relid, phase, etc. sit behind permission controls and should remain that
> way. If there
> is different opinion for those fields, that is a separate discussion.
> 
> WDYT?

That's debatable perhaps, but the leader PID is in the same kind of
category as the wait events: no information derived from a PGPROC
entry should be viewable except for a role with pg_read_all_stats
privileges or if a role is a member of the role whose information is
queried.
--
Michael

Attachment: signature.asc
Description: PGP signature

Reply via email to