Re: Allow pg_signal_backend members to use pg_log_backend_memory_stats().

Nathan Bossart <bossartn@amazon.com>

From: "Bossart, Nathan" <bossartn@amazon.com>
To: Jeff Davis <pgsql@j-davis.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-10-24T20:59:48Z
Lists: pgsql-hackers
On 10/24/21, 9:51 AM, "Jeff Davis" <pgsql@j-davis.com> wrote:
> On Sat, 2021-10-23 at 20:42 +0000, Bossart, Nathan wrote:
>> The predefined roles documentation notes
>> that members of pg_signal_backend cannot signal superuser-owned
>> backends, but AFAICT pg_log_backend_memory_contexts() has no such
>> restriction at the moment.  Should we add this?
>
> Added, good catch.

The new patch looks good to me.

Nathan

Commits

  1. Allow GRANT on pg_log_backend_memory_contexts().