pgsql: Use .h for the file containing the page checksum code fragment - Mailing list pgsql-committers

From John Naylor
Subject pgsql: Use .h for the file containing the page checksum code fragment
Date
Msg-id E1wA2Bf-003MpH-27@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8c3e22a8f8b9af94b519b6e223db0912d552093e

Modified Files
--------------
src/backend/storage/page/checksum.c                                 | 4 ++--
.../storage/{checksum_block.inc.c => checksum_block_internal.h}     | 6 +++---
src/include/storage/checksum_impl.h                                 | 2 +-
src/tools/pginclude/headerscheck                                    | 4 +++-
4 files changed, 9 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: John Naylor
Date:
Subject: pgsql: Simplify SortSupport for the macaddr data type
Next
From: Álvaro Herrera
Date:
Subject: pgsql: Fix valgrind failure