postgresql/contrib/pg_upgrade
Simon Riggs 96ef3b8ff1 Allow I/O reliability checks using 16-bit checksums
Checksums are set immediately prior to flush out of shared buffers
and checked when pages are read in again. Hint bit setting will
require full page write when block is dirtied, which causes various
infrastructure changes. Extensive comments, docs and README.

WARNING message thrown if checksum fails on non-all zeroes page;
ERROR thrown but can be disabled with ignore_checksum_failure = on.

Feature enabled by an initdb option, since transition from option off
to option on is long and complex and has not yet been implemented.
Default is not to use checksums.

Checksum used is WAL CRC-32 truncated to 16-bits.

Simon Riggs, Jeff Davis, Greg Smith
Wide input and assistance from many community members. Thank you.
2013-03-22 13:54:07 +00:00
..
.gitignore pg_upgrade: Add new generated file to .gitignore 2012-03-20 20:40:31 +02:00
IMPLEMENTATION Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
Makefile Add pg_upgrade --jobs parameter 2012-12-26 19:26:30 -05:00
TESTING Remove whitespace from end of lines 2012-05-15 22:19:41 +03:00
check.c pg_upgrade: conditionally create cluster delete script 2013-02-14 10:53:03 -05:00
controldata.c Allow I/O reliability checks using 16-bit checksums 2013-03-22 13:54:07 +00:00
dump.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
exec.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
file.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
function.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
info.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
option.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
page.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
parallel.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
pg_upgrade.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
pg_upgrade.h Allow I/O reliability checks using 16-bit checksums 2013-03-22 13:54:07 +00:00
relfilenode.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
server.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
tablespace.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
test.sh Extend and improve use of EXTRA_REGRESS_OPTS. 2013-01-12 08:28:58 -05:00
util.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
version.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
version_old_8_3.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00