Add missing padding from MemoryChunk struct
authorDavid Rowley <[email protected]>
Mon, 29 Aug 2022 11:20:25 +0000 (23:20 +1200)
committerDavid Rowley <[email protected]>
Mon, 29 Aug 2022 11:20:25 +0000 (23:20 +1200)
commitdf0f4feef8de933be61ce3e73142c82c37b17fa4
treec64dd3792e15d15d1be65f179a63f74ffc79c31d
parentc6a43c25a8ba1a825588f7af25a7173f2e66ce8d
Add missing padding from MemoryChunk struct

Buildfarm animals skate, grison and mamba are Assert failing on the
pointer being given to repalloc not being MAXALIGNED.  c6e0fe1f2a made
changes in that area.

All of these animals are 32-bit with a MAXIMUM_ALIGNOF of 8 and a
SIZEOF_VOID_P of 4.  I suspect that the pointer is not properly aligned due
to the lack of padding in the MemoryChunk struct.

Here we add the same type of padding that was previously used in
AllocChunkData and GenerationChunk that c6e0fe1f2a neglected to add.

Discussion: https://postgr.es/m/CAA4eK1%2B1JyW5TiL%3DyV-3Uq1CrfnTyn0Xrk5uArt31Z%3D8rgPhXQ%40mail.gmail.com
src/include/utils/memutils_memorychunk.h