Re: Get memory contexts of an arbitrary backend process

Georgios <gkokolatos@protonmail.com>

From: Georgios Kokolatos <gkokolatos@protonmail.com>
To: pgsql-hackers@lists.postgresql.org
Cc: Atsushi Torikoshi <torikoshia@oss.nttdata.com>
Date: 2020-11-10T15:07:13Z
Lists: pgsql-hackers
Hi,

I noticed that this patch fails on the cfbot.
For this, I changed the status to: 'Waiting on Author'.

Cheers,
//Georgios

The new status of this patch is: Waiting on Author

Commits

  1. Add function to log the memory contexts of specified backend process.

  2. Add pg_backend_memory_contexts system view.

  3. Limit the verbosity of memory context statistics dumps.