mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Initial pgindent and pgperltidy run for v13.
Includes some manual cleanup of places that pgindent messed up,
most of which weren't per project style anyway.
Notably, it seems some people didn't absorb the style rules of
commit c9d297751, because there were a bunch of new occurrences
of function calls with a newline just after the left paren, all
with faulty expectations about how the rest of the call would get
indented.
This commit is contained in:
@@ -217,10 +217,11 @@ SlabContextCreate(MemoryContext parent,
|
||||
headerSize = offsetof(SlabContext, freelist) + freelistSize;
|
||||
|
||||
#ifdef MEMORY_CONTEXT_CHECKING
|
||||
|
||||
/*
|
||||
* With memory checking, we need to allocate extra space for the bitmap
|
||||
* of free chunks. The bitmap is an array of bools, so we don't need to
|
||||
* worry about alignment.
|
||||
* With memory checking, we need to allocate extra space for the bitmap of
|
||||
* free chunks. The bitmap is an array of bools, so we don't need to worry
|
||||
* about alignment.
|
||||
*/
|
||||
headerSize += chunksPerBlock * sizeof(bool);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user