Re: Align memory context level numbering in pg_log_backend_memory_contexts() - Mailing list pgsql-hackers

From Rahila Syed
Subject Re: Align memory context level numbering in pg_log_backend_memory_contexts()
Date
Msg-id CAH2L28sk1ORSrL8oXQRe59O5HQV5CPJ4j0MuHfbzjcwPXqN-_g@mail.gmail.com
Whole thread Raw
In response to Re: Align memory context level numbering in pg_log_backend_memory_contexts()  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: Align memory context level numbering in pg_log_backend_memory_contexts()
Re: Align memory context level numbering in pg_log_backend_memory_contexts()
List 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

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: jsonapi: scary new warnings with LTO enabled
Next
From: "Zhijie Hou (Fujitsu)"
Date:
Subject: RE: Fix slot synchronization with two_phase decoding enabled