Re: Reducing the chunk header sizes on all memory context types
От | David Rowley |
---|---|
Тема | Re: Reducing the chunk header sizes on all memory context types |
Дата | |
Msg-id | CAApHDvociYOk=OTxw0XmO9BR38Covk13M_wg8nt8N7aySWKbLw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Reducing the chunk header sizes on all memory context types (Amit Kapila <amit.kapila16@gmail.com>) |
Ответы |
Re: Reducing the chunk header sizes on all memory context types
|
Список | pgsql-hackers |
On Mon, 29 Aug 2022 at 21:37, Amit Kapila <amit.kapila16@gmail.com> wrote: > 2022-08-29 03:29:56.911 EDT [1056:67] pg_regress/ddl STATEMENT: > SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, > NULL, 'include-xids', '0', 'skip-empty-xacts', '1'); > TRAP: FailedAssertion("pointer == (void *) MAXALIGN(pointer)", File: > "../../../../src/include/utils/memutils_internal.h", Line: 120, PID: > 1056) I suspect, going by all 3 failing animals being 32-bit which have a MAXIMUM_ALIGNOF 8 and SIZEOF_SIZE_T of 4 that this is due to the lack of padding in the MemoryChunk struct. AllocChunkData and GenerationChunk had padding to account for sizeof(Size) being 4 and sizeof(void *) being 8, I didn't add that to MemoryChunk, so I'll do that now. David
В списке pgsql-hackers по дате отправления: