pgsql: Fix incorrect KeeperBlock macro in bump.c

Поиск
Список
Период
Сортировка
От David Rowley
Тема pgsql: Fix incorrect KeeperBlock macro in bump.c
Дата
Msg-id E1rtbbI-0012Ff-4q@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Fix usage of same ListCell transform_or_to_any()'s in nested loo
Следующее
От: Michael Paquier
Дата:
Сообщение: [MASSMAIL]pgsql: Make GIN test using injection points repeatable