Thanks for your review, Melih and Rahila.

On 2025-04-17 21:25, Rahila Syed wrote:
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.

As for the level variable, this change comes from the v1 patch, and I don't have a strong opinion about it. However, if we decide to keep the level variable here, it might be more consistent to also define it in MemoryContextStatsDetail().


--
Regards,

--
Atsushi Torikoshi
Seconded from NTT DATA GROUP CORPORATION to SRA OSS K.K.


Reply via email to