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
