Hi, On 2021-10-23 12:57:02 -0700, Jeff Davis wrote: > 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.
I like the idea of making pg_log_backend_memory_contexts() more widely available. But I think tying it to pg_signal_backend isn't great. It's unnecessarily baking in an implementation detail. Greetings, Andres Freund