Remove unused BumpBlockIsValid macro
authorDavid Rowley <drowley@postgresql.org>
Tue, 9 Apr 2024 23:10:16 +0000 (11:10 +1200)
committerDavid Rowley <drowley@postgresql.org>
Tue, 9 Apr 2024 23:10:16 +0000 (11:10 +1200)
commit5a15bdea3b791223b4cc708d4953a0086f4332a6
tree403ff46843875813fc7271fc4e1fc3b7d4827d23
parentc99ef1811a064a94fb78917f35bb5853059a92b7
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
src/backend/utils/mmgr/bump.c