postgresql/src/bin/pg_checksums
Daniel Gustafsson b3a37ffbc5 Use PG_DATA_CHECKSUM_OFF instead of hardcoded value
For a long time, the online checksums patchset kept the "off" state as
literal zero without a label to be consistent with the previous coding
which only had a label for the "on" state.  Later, when an "off" label
was made not all uses in the code got the memo.  Fix by setting these
to PG_DATA_CHECKSUM_OFF.

While there, fix a duplicate word in a comment introduced by the same
commit.

Author: Aleksander Alekseev <aleksander@tigerdata.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAJ7c6TPRTnQFXXX1CRcYoTLXw2swtDH==uSz1MYoMKdLrKZHjA@mail.gmail.com
2026-04-06 22:11:53 +02:00
..
po Update copyright for 2026 2026-01-01 13:24:10 -05:00
t Update copyright for 2026 2026-01-01 13:24:10 -05:00
.gitignore Rename pg_verify_checksums to pg_checksums 2019-03-13 10:43:20 +09:00
Makefile Update copyright for 2026 2026-01-01 13:24:10 -05:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
nls.mk Add missing source files to nls.mk 2024-06-13 10:17:36 +02:00
pg_checksums.c Use PG_DATA_CHECKSUM_OFF instead of hardcoded value 2026-04-06 22:11:53 +02:00