From 849ec99753982eafd223bdb1c9d854aaca3e8f2f Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Tue, 7 Aug 2007 06:25:14 +0000 Subject: Adjust the output of MemoryContextStats() so that the stats for a child memory contexts is indented two spaces to the right of its parent context. This should make it easier to deduce the memory context hierarchy from the output of MemoryContextStats(). --- src/include/nodes/memnodes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/nodes') diff --git a/src/include/nodes/memnodes.h b/src/include/nodes/memnodes.h index 2bbe9a8ab8a..5f746479e13 100644 --- a/src/include/nodes/memnodes.h +++ b/src/include/nodes/memnodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/nodes/memnodes.h,v 1.32 2007/01/05 22:19:55 momjian Exp $ + * $PostgreSQL: pgsql/src/include/nodes/memnodes.h,v 1.33 2007/08/07 06:25:14 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -44,7 +44,7 @@ typedef struct MemoryContextMethods void (*delete) (MemoryContext context); Size (*get_chunk_space) (MemoryContext context, void *pointer); bool (*is_empty) (MemoryContext context); - void (*stats) (MemoryContext context); + void (*stats) (MemoryContext context, int level); #ifdef MEMORY_CONTEXT_CHECKING void (*check) (MemoryContext context); #endif -- cgit v1.2.3