Re: XLog size reductions: Reduced XLog record header size for PG17

Matthias van de Meent <boekewurm+postgres@gmail.com>

From: Matthias van de Meent <boekewurm+postgres@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>, Robert Haas <robertmhaas@gmail.com>, Dilip Kumar <dilipbalaut@gmail.com>, Andres Freund <andres@anarazel.de>
Date: 2023-06-30T15:36:40Z
Lists: pgsql-hackers

Attachments

Hi,

The attached v2 patchset contains some small fixes for the failing
cfbot 32-bit tests - at least locally it does so.

I'd overlooked one remaining use of MAXALIGN64() in xlog.c in the last
patch of the set, which has now been updated to XLP_ALIGN as well.
Additionally, XLP_ALIGN has been updated to use TYPEALIGN64 instead of
TYPEALIGN so that we don't lose bits of the aligned value in 32-bit
systems.

Kind regards,

Matthias van de Meent
Neon (https://neon.tech/)