Use .h for the file containing the page checksum code fragment
John Naylor <john.naylor@postgresql.org>
Author:
John Naylor <john.naylor@postgresql.org>
Date: 2026-04-07T08:52:55Z
Releases:
19 (unreleased)
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
| Path | Change | +/− |
|---|---|---|
| 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
- BUG #19450: Where is checksum_block.inc.c after master install? 6 messages · 2026-04-05 → 2026-04-07