Allow pg_signal_backend members to use pg_log_backend_memory_stats().

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Allow pg_signal_backend members to use pg_log_backend_memory_stats().
Date: 2021-10-23 19:57:02
Message-ID: e5cf6684d17c8d1ef4904ae248605ccd6da03e72.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Simple patch to implement $SUBJECT attached.

pg_signal_backend seems like the appropriate predefined role, because
pg_log_backend_memory_contexts() is implemented by a sending signal.

Regards,
Jeff Davis

Attachment Content-Type Size
0001-Allow-pg_signal_backend-members-to-call-pg_log_backe.patch text/x-patch 4.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2021-10-23 20:02:18 Re: should we allow users with a predefined role to access pg_backend_memory_contexts view and pg_log_backend_memory_contexts function?gr
Previous Message Floris Van Nee 2021-10-23 19:30:47 RE: MDAM techniques and Index Skip Scan patch