RE: Allow pg_read_all_stats to read replication origin status - Mailing list pgsql-hackers

From Hayato Kuroda (Fujitsu)
Subject RE: Allow pg_read_all_stats to read replication origin status
Date
Msg-id TYRPR01MB12845B37AFFC332647F991C8FF5872@TYRPR01MB12845.jpnprd01.prod.outlook.com
Whole thread
Responses Re: Allow pg_read_all_stats to read replication origin status
List pgsql-hackers
Hi Virender,

> > Looks like pg_read_all_stats was originally designed to grant access
> > to all pg_stats_* views, a few other monitoring views defined in
> > system_views.sql have been included over time. However, access to
> > pg_replication_origin_status remains restricted and is not currently
> > covered by existing roles such as pg_read_all_stats, pg_read_all_data,
> > or pg_monitor.

Not sure, does pg_replication_origin_status contain statistics? I expected
statistics means some cumulative data, but this view contains node ids and LSNs.
Can you give us a background why the idea allowing pg_monitor to read the view
was not accepted?

Best regards,
Hayato Kuroda
FUJITSU LIMITED


pgsql-hackers by date:

Previous
From: shveta malik
Date:
Subject: Re: Distinguish publication exclusions in object addresses
Next
From: David Rowley
Date:
Subject: Re: RANGE partition pruning can still exclude the default partition