Re: Allow pg_signal_backend members to use pg_log_backend_memory_stats().

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, bossartn(at)amazon(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Allow pg_signal_backend members to use pg_log_backend_memory_stats().
Date: 2021-10-26 21:04:14
Message-ID: 15c44054450487c70c638852c59149d4a58ca166.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 2021-10-26 at 23:32 +0900, Fujii Masao wrote:
> The description "This function is restricted to superusers by
> default,
> but other users can be granted EXECUTE to run the function."
> should be added into the docs?

A similar statement already exists right above the table of functions:

"
Use of these functions is restricted to superusers by default but
access may be granted to others using GRANT, with noted exceptions."

Committed the version that merely removes the superuser check, and
revokes from public. Privilege can be granted to non-superusers if
desired.

Thanks everyone for looking.

Regards,
Jeff Davis

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2021-10-26 21:11:39 Re: XTS cipher mode for cluster file encryption
Previous Message Jeff Davis 2021-10-26 21:03:24 Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.