Fix incorrect KeeperBlock macro in bump.c
David Rowley <drowley@postgresql.org>
Fix incorrect KeeperBlock macro in bump.c The macro was missing a MAXALIGN around the sizeof(BumpContext) which would cause problems detecting the keeper block on 32-bit systems that have a MAXALIGN value of 8. Thank you to Andres Freund, Tomas Vondra and Tom Lane for investigating and testing. Reported-by: Melanie Plageman, Tomas Vondra Discussion: https://postgr.es/m/CAAKRu_Y6dZjiJEZghgNZp0Gjar1JVq-CH7XGDqExDVHnPgDjuw@mail.gmail.com Discussion: https://postgr.es/m/a4a10b89-6ba8-4abd-b449-019aafff04fc@enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/mmgr/bump.c | modified | +3 −2 |
Discussion
- Add bump memory context type and use it for tuplesorts 58 messages · 2023-06-27 → 2024-04-16
Cited messages not in the archive:
CAAKRu_Y6dZjiJEZghgNZp0Gjar1JVq-CH7XGDqExDVHnPgDjuw@mail.gmail.com