Re: Align memory context level numbering in pg_log_backend_memory_contexts()
В списке pgsql-hackers по дате отправления:
| От | torikoshia |
|---|---|
| Тема | Re: Align memory context level numbering in pg_log_backend_memory_contexts() |
| Дата | |
| Msg-id | fe60f073a7f646239f1a273f21bebf03@oss.nttdata.com обсуждение |
| Ответ на | Re: Align memory context level numbering in pg_log_backend_memory_contexts() (Rahila Syed <rahilasyed90@gmail.com>) |
| Список | pgsql-hackers |
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.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера