On Sun, Nov 28, 2021 at 5:21 PM vignesh C <vignes...@gmail.com> wrote: > Thanks for the updated patch, one comment: > 1) The function can be indented similar to other functions in the same file: > +CREATE FUNCTION memcxt_get_proc_pid(text) > +RETURNS int > +LANGUAGE SQL > +AS 'SELECT pid FROM pg_stat_activity WHERE backend_type = $1'; > > Something like: > +CREATE FUNCTION memcxt_get_proc_pid(text) > + RETURNS int > + LANGUAGE SQL > + AS 'SELECT pid FROM pg_stat_activity WHERE backend_type = $1';
Done. PSA v6 patch. Regards, Bharath Rupireddy.
v6-0001-enhance-pg_log_backend_memory_contexts-to-log-mem.patch
Description: Binary data