From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unused BumpBlockIsValid macro
Date: Tue, 09 Apr 2024 23:10:33 +0000
Message-ID: <E1ruKbp-001Lnu-Ax@gemulon.postgresql.org> (raw)
Remove unused BumpBlockIsValid macro
The bump allocator was recently added in 29f6a959c. Our other
allocators have a similar macro to this, but seemingly the version of
the macro for those allocators is only used in places where the chunk
header is decoded. Since the bump allocator has no chunk header, none
of those functions exist for bump therefore macro is unused. Remove it.
Reported-by: Peter Eisentraut
Discussion: https://postgr.es/m/5f724fb2-96e1-4f36-b65b-47b337ad432e@eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5a15bdea3b791223b4cc708d4953a0086f4332a6
Modified Files
--------------
src/backend/utils/mmgr/bump.c | 7 -------
1 file changed, 7 deletions(-)
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: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove unused BumpBlockIsValid macro
In-Reply-To: <E1ruKbp-001Lnu-Ax@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox