| От | Tom Lane |
|---|---|
| Тема | Re: MemoryContextStats tweak: show tree structure |
| Дата | |
| Msg-id | 6163.1186448163@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | MemoryContextStats tweak: show tree structure (Neil Conway <neilc@samurai.com>) |
| Ответы |
Re: MemoryContextStats tweak: show tree structure
|
| Список | pgsql-patches |
Neil Conway <neilc@samurai.com> writes:
> Previously, MemoryContextStats() simply emitted a line of output for
> each MemoryContext. This is fine, but it makes it difficult to see the
> shape of the MemoryContext hierarchy. Attached is a trivial patch to
> indent each context by "4 * level" spaces, where "level" is the depth of
> the node within the subtree printed by MemoryContextStats().
Seems reasonable except I'd vote for less indentation --- the lines are
too long already. How do you feel about 1 or 2 spaces per level?
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера