mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user