File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -466,10 +466,10 @@ MemoryContextIsEmpty(MemoryContext context)
466
466
* Find the memory allocated to blocks for this memory context. If recurse is
467
467
* true, also include children.
468
468
*/
469
- int64
469
+ Size
470
470
MemoryContextMemAllocated (MemoryContext context , bool recurse )
471
471
{
472
- int64 total = context -> mem_allocated ;
472
+ Size total = context -> mem_allocated ;
473
473
474
474
AssertArg (MemoryContextIsValid (context ));
475
475
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ extern void MemoryContextSetParent(MemoryContext context,
82
82
extern Size GetMemoryChunkSpace (void * pointer );
83
83
extern MemoryContext MemoryContextGetParent (MemoryContext context );
84
84
extern bool MemoryContextIsEmpty (MemoryContext context );
85
- extern int64 MemoryContextMemAllocated (MemoryContext context , bool recurse );
85
+ extern Size MemoryContextMemAllocated (MemoryContext context , bool recurse );
86
86
extern void MemoryContextStats (MemoryContext context );
87
87
extern void MemoryContextStatsDetail (MemoryContext context , int max_children );
88
88
extern void MemoryContextAllowInCriticalSection (MemoryContext context ,
You can’t perform that action at this time.
0 commit comments