| From: | David Rowley <drowley(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix incorrect KeeperBlock macro in bump.c |
| Date: | 2024-04-07 23:07:00 |
| Message-ID: | E1rtbbI-0012Ff-4q@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/705ec0565371033082e7b1c278afcb42aa5a7421
Modified Files
--------------
src/backend/utils/mmgr/bump.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2024-04-07 23:46:05 | pgsql: Make GIN test using injection points repeatable |
| Previous Message | Alexander Korotkov | 2024-04-07 22:45:50 | pgsql: Fix usage of same ListCell transform_or_to_any()'s in nested loo |