Re: pg_monitor role description

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: pg_monitor role description
Date: 2021-05-20 18:10:08
Message-ID: 3743636.1621534208@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru> writes:
> So, is it correct to change description of pg_monitor role from:
> "Read/execute various monitoring views and functions. This role is a member of|pg_read_all_settings|,|pg_read_all_stats| and|pg_stat_scan_tables|."
> to
> "Read/execute various monitoring views and functions. The roles pg_read_all_settings, pg_read_all_stats and pg_stat_scan_tables are members of this role."

No, it is not. That wording implies that the built-in grants are like

GRANT pg_monitor TO pg_read_all_settings

and so on, where the truth is the opposite.

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Pavel Luzanov 2021-05-20 18:25:54 Re: pg_monitor role description
Previous Message Pavel Luzanov 2021-05-20 18:00:43 Re: pg_monitor role description