postgresql/src/backend/utils
Magnus Hagander 1fde38beaa Allow on-line enabling and disabling of data checksums
This makes it possible to turn checksums on in a live cluster, without
the previous need for dump/reload or logical replication (and to turn it
off).

Enabling checkusm starts a background process in the form of a
launcher/worker combination that goes through the entire database and
recalculates checksums on each and every page. Only when all pages have
been checksummed are they fully enabled in the cluster. Any failure of
the process will revert to checksums off and the process has to be
started.

This adds a new WAL record that indicates the state of checksums, so
the process works across replicated clusters.

Authors: Magnus Hagander and Daniel Gustafsson
Review: Tomas Vondra, Michael Banck, Heikki Linnakangas, Andrey Borodin
2018-04-05 22:04:48 +02:00
..
adt Add websearch_to_tsquery 2018-04-05 19:55:11 +03:00
cache C comments: "a" <--> "an" corrections 2018-03-29 15:18:53 -04:00
error Update copyright for 2018 2018-01-02 23:30:12 -05:00
fmgr Fast ALTER TABLE ADD COLUMN with a non-NULL default 2018-03-28 10:43:52 +10:30
hash Allow memory contexts to have both fixed and variable ident strings. 2018-03-27 16:46:51 -04:00
init Allow background workers to bypass datallowconn 2018-04-05 19:02:45 +02:00
mb Update headers of generated files 2018-02-24 14:54:17 -05:00
misc Allow on-line enabling and disabling of data checksums 2018-04-05 22:04:48 +02:00
mmgr Fix a boatload of typos in C comments. 2018-04-01 15:01:28 -04:00
resowner Basic JIT provider and error handling infrastructure. 2018-03-21 19:28:28 -07:00
sort Fix a boatload of typos in C comments. 2018-04-01 15:01:28 -04:00
time Rename TransactionChain functions 2018-03-16 13:18:06 -04:00
.gitignore Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
errcodes.txt Support all SQL:2011 options for window frame clauses. 2018-02-07 00:06:56 -05:00
Gen_dummy_probes.pl Update copyright for 2018 2018-01-02 23:30:12 -05:00
Gen_dummy_probes.sed Update copyright for 2018 2018-01-02 23:30:12 -05:00
Gen_fmgrtab.pl Update copyright for 2018 2018-01-02 23:30:12 -05:00
generate-errcodes.pl Update copyright for 2018 2018-01-02 23:30:12 -05:00
Makefile Install errcodes.txt for use by extensions. 2018-04-05 04:05:40 +01:00
probes.d Support parallel btree index builds. 2018-02-02 13:32:44 -05:00