agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add alignment option to ShmemRequestStruct()
Date: Sun, 05 Apr 2026 23:27:44 +0000
Message-ID: <E1w9WsZ-0039AI-12@gemulon.postgresql.org> (raw)
Add alignment option to ShmemRequestStruct()
The buffer blocks, converted to use ShmemRequestStruct() in the next
commit, are IO-aligned. This might come handy in other places too, so
make it an explicit feature of ShmemRequestStruct().
Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Reviewed-by: Matthias van de Meent <boekewurm+postgres@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/CAExHW5vM1bneLYfg0wGeAa=52UiJ3z4vKd3AJ72X8Fw6k3KKrg@mail.gmail...
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/dacfe81a0de513308e6753fe3d9b4f3e4811da69
Modified Files
--------------
src/backend/storage/ipc/shmem.c | 39 ++++++++++++++++++++++++++++-----------
src/include/storage/shmem.h | 6 ++++++
2 files changed, 34 insertions(+), 11 deletions(-)
Message-ID: <E1w9WsZ-0039AI-12@gemulon.postgresql.org>
Permalink: ../E1w9WsZ-0039AI-12@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1w9WsZ-0039AI-12@gemulon.postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add alignment option to ShmemRequestStruct()
In-Reply-To: <E1w9WsZ-0039AI-12@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox