Allow pg_log_backend_memory_contexts() for postmaster

From: Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Allow pg_log_backend_memory_contexts() for postmaster
Date: 2026-06-22 13:15:27
Message-ID: CAKZiRmxFtynvQmAAvD1GkJR1kd0r1mjasYcj8hw==in2V0d3kA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi -hackers,

During one of recent investigations about memory leaks in postmaster, I was
quite tired of issues related to gdb (it's seems very risky on postmaster,
requires for gdb to be installed and might cause friction).

I was wondering why we couldn't suppport this out of the box. It looks like
useful addition to me, so here's the patch.

-J.

Attachment Content-Type Size
v1-0001-Allow-pg_log_backend_memory_contexts-for-postmast.patch text/x-patch 6.3 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Akshay Joshi 2026-06-22 13:19:27 Re: [PATCH] Add pg_get_policy_ddl() function to reconstruct CREATE POLICY statement
Previous Message solai v 2026-06-22 13:04:42 Re: log_checkpoints: count WAL segment creations from all processes