agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make blkreftable API use size_t/ssize_t consistently
Date: Mon, 13 Jul 2026 16:00:53 +0000
Message-ID: <E1wjJ5Q-0001AV-2U@gemulon.postgresql.org> (raw)
Make blkreftable API use size_t/ssize_t consistently
It was using int for the input and output length, where size_t or
ssize_t would be more appropriate. It might not matter in practice,
but it makes the APIs consistent at all levels.
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://www.postgresql.org/message-id/flat/f9aab072-0078-49e4-ab93-3b08086a4406@eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7b87f08e8778c2d38c95e3808419e2d18c55c672
Modified Files
--------------
src/backend/backup/walsummary.c | 14 +++++++-------
src/bin/pg_walsummary/pg_walsummary.c | 10 +++++-----
src/common/blkreftable.c | 16 ++++++++--------
src/include/backup/walsummary.h | 4 ++--
src/include/common/blkreftable.h | 2 +-
5 files changed, 23 insertions(+), 23 deletions(-)
Message-ID: <E1wjJ5Q-0001AV-2U@gemulon.postgresql.org>
Permalink: ../E1wjJ5Q-0001AV-2U@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wjJ5Q-0001AV-2U@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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Make blkreftable API use size_t/ssize_t consistently
In-Reply-To: <E1wjJ5Q-0001AV-2U@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