Re: enhance pg_log_backend_memory_contexts() to log memory contexts of auxiliary processes

Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>

From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
To: vignesh C <vignesh21@gmail.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, torikoshia <torikoshia@oss.nttdata.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-11-28T06:55:47Z
Lists: pgsql-hackers

Attachments

On Sun, Nov 28, 2021 at 12:22 PM vignesh C <vignesh21@gmail.com> wrote:
> > Attaching v4 patch, please review it further.
>
> One small comment:
> 1) There should be a space in between "<literal>LOG</literal>message level"
> +        it can) for memory contexts. These memory contexts will be logged at
> +        <literal>LOG</literal>message level. They will appear in the server log
> +        based on the log configuration set (See <xref
> linkend="runtime-config-logging"/>
> +        for more information), but will not be sent to the client regardless of

Done.

> The rest of the patch looks good to me.

Thanks for the review. Here's the v5 patch.

Regards,
Bharath Rupireddy.

Commits

  1. Enhance pg_log_backend_memory_contexts() for auxiliary processes.