Use .h for the file containing the page checksum code fragment

John Naylor <john.naylor@postgresql.org>

Commit: 8c3e22a8f8b9af94b519b6e223db0912d552093e
Author: John Naylor <john.naylor@postgresql.org>
Date: 2026-04-07T08:52:55Z
Use .h for the file containing the page checksum code fragment

Commit 5e13b0f24 used a .c file for a file containing a code fragment,
to avoid adding an exception to headerscheck. That turned out to be
too clever, since it meant installation didn't happen by the usual
mechanism. Make it look like a normal header and add the requisite
exception.

Bug: #19450
Reported-by: RekGRpth <rekgrpth@gmail.com>
Discussion: https://postgr.es/m/19450-bb0612c50c6786e5@postgresql.org

Files

PathChange+/−
src/backend/storage/page/checksum.c modified +2 −2
src/include/storage/checksum_block_internal.h (from src/include/storage/checksum_block.inc.c) renamed +3 −3
src/include/storage/checksum_impl.h modified +1 −1
src/tools/pginclude/headerscheck modified +3 −1

Discussion