Re: Align memory context level numbering in pg_log_backend_memory_contexts()

From: Rahila Syed <rahilasyed90(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Align memory context level numbering in pg_log_backend_memory_contexts()
Date: 2025-04-17 12:25:04
Message-ID: CAH2L28sk1ORSrL8oXQRe59O5HQV5CPJ4j0MuHfbzjcwPXqN-_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> The attached patch is how I think we should do it.
>

Thank you for the patch.
I tested this patch and it works fine. I agree with the changes made in it.

Regarding v2 patch,
- int level = 0;

Retaining the level variable will enhance the code readability, IMO.

Thank you,
Rahila Syed

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhijie Hou (Fujitsu) 2025-04-17 12:44:16 RE: Fix slot synchronization with two_phase decoding enabled
Previous Message Daniel Gustafsson 2025-04-17 11:43:18 Re: jsonapi: scary new warnings with LTO enabled