aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/memutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/memutils.h')
-rw-r--r--src/include/utils/memutils.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/include/utils/memutils.h b/src/include/utils/memutils.h
index 30d7998c3b1..ffe6de536e2 100644
--- a/src/include/utils/memutils.h
+++ b/src/include/utils/memutils.h
@@ -78,14 +78,14 @@ extern void MemoryContextResetChildren(MemoryContext context);
extern void MemoryContextDeleteChildren(MemoryContext context);
extern void MemoryContextSetIdentifier(MemoryContext context, const char *id);
extern void MemoryContextSetParent(MemoryContext context,
- MemoryContext new_parent);
+ MemoryContext new_parent);
extern Size GetMemoryChunkSpace(void *pointer);
extern MemoryContext MemoryContextGetParent(MemoryContext context);
extern bool MemoryContextIsEmpty(MemoryContext context);
extern void MemoryContextStats(MemoryContext context);
extern void MemoryContextStatsDetail(MemoryContext context, int max_children);
extern void MemoryContextAllowInCriticalSection(MemoryContext context,
- bool allow);
+ bool allow);
#ifdef MEMORY_CONTEXT_CHECKING
extern void MemoryContextCheck(MemoryContext context);
@@ -138,10 +138,10 @@ GetMemoryChunkContext(void *pointer)
* specific creation routines, and noplace else.
*/
extern void MemoryContextCreate(MemoryContext node,
- NodeTag tag,
- const MemoryContextMethods *methods,
- MemoryContext parent,
- const char *name);
+ NodeTag tag,
+ const MemoryContextMethods *methods,
+ MemoryContext parent,
+ const char *name);
/*
@@ -150,10 +150,10 @@ extern void MemoryContextCreate(MemoryContext node,
/* aset.c */
extern MemoryContext AllocSetContextCreateInternal(MemoryContext parent,
- const char *name,
- Size minContextSize,
- Size initBlockSize,
- Size maxBlockSize);
+ const char *name,
+ Size minContextSize,
+ Size initBlockSize,
+ Size maxBlockSize);
/*
* This wrapper macro exists to check for non-constant strings used as context
@@ -172,14 +172,14 @@ extern MemoryContext AllocSetContextCreateInternal(MemoryContext parent,
/* slab.c */
extern MemoryContext SlabContextCreate(MemoryContext parent,
- const char *name,
- Size blockSize,
- Size chunkSize);
+ const char *name,
+ Size blockSize,
+ Size chunkSize);
/* generation.c */
extern MemoryContext GenerationContextCreate(MemoryContext parent,
- const char *name,
- Size blockSize);
+ const char *name,
+ Size blockSize);
/*
* Recommended default alloc parameters, suitable for "ordinary" contexts