Revert "Allow on-line enabling and disabling of data checksums"

Magnus Hagander <magnus@hagander.net>

Commit: a228cc13aeabff308d6dfc98a1015865f5393fce
Author: Magnus Hagander <magnus@hagander.net>
Date: 2018-04-09T17:03:42Z
Releases: 11.0
Revert "Allow on-line enabling and disabling of data checksums"

This reverts the backend sides of commit 1fde38beaa0c3e66c340efc7cc0dc272d6254bb0.
I have, at least for now, left the pg_verify_checksums tool in place, as
this tool can be very valuable without the rest of the patch as well,
and since it's a read-only tool that only runs when the cluster is down
it should be a lot safer.

Files

PathChange+/−
doc/src/sgml/func.sgml modified +0 −65
doc/src/sgml/reference.sgml modified +0 −1
doc/src/sgml/ref/initdb.sgml modified +3 −3
doc/src/sgml/wal.sgml modified +0 −81
src/backend/access/rmgrdesc/xlogdesc.c modified +0 −16
src/backend/access/transam/xlog.c modified +6 −118
src/backend/access/transam/xlogfuncs.c modified +0 −59
src/backend/catalog/system_views.sql modified +0 −5
src/backend/postmaster/bgworker.c modified +0 −7
src/backend/postmaster/checksumhelper.c deleted +0 −855
src/backend/postmaster/Makefile modified +2 −3
src/backend/postmaster/pgstat.c modified +0 −5
src/backend/replication/basebackup.c modified +1 −1
src/backend/replication/logical/decode.c modified +0 −1
src/backend/storage/ipc/ipci.c modified +0 −2
src/backend/storage/page/bufpage.c modified +3 −3
src/backend/storage/page/README modified +1 −2
src/backend/utils/misc/guc.c modified +12 −25
src/bin/pg_upgrade/controldata.c modified +0 −9
src/bin/pg_upgrade/pg_upgrade.h modified +1 −1
src/bin/pg_verify_checksums/pg_verify_checksums.c modified +1 −4
src/include/access/xlog.h modified +2 −8
src/include/access/xlog_internal.h modified +0 −7
src/include/catalog/pg_control.h modified +0 −1
src/include/catalog/pg_proc.dat modified +0 −8
src/include/pgstat.h modified +1 −3
src/include/postmaster/checksumhelper.h deleted +0 −31
src/include/storage/bufpage.h modified +0 −1
src/include/storage/checksum.h modified +0 −7
src/test/checksum/.gitignore deleted +0 −2
src/test/checksum/Makefile deleted +0 −24
src/test/checksum/README deleted +0 −22
src/test/checksum/t/001_standby_checksum.pl deleted +0 −101
src/test/isolation/expected/checksum_cancel.out deleted +0 −27
src/test/isolation/expected/checksum_enable.out deleted +0 −27
src/test/isolation/isolation_schedule modified +0 −4
src/test/isolation/specs/checksum_cancel.spec deleted +0 −47
src/test/isolation/specs/checksum_enable.spec deleted +0 −70
src/test/Makefile modified +1 −2

Documentation touched