aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numutils.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2013-04-29 09:05:27 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2013-04-29 09:05:27 +0100
commit43e7a668499b8a69a62cc539a0fbe6983384339c (patch)
tree572587c28e77d06c7ba08b75f736b833834e6752 /src/backend/utils/adt/numutils.c
parentf8db76e875099e5e49f5cd729a673e84c0b0471b (diff)
downloadpostgresql-43e7a668499b8a69a62cc539a0fbe6983384339c.tar.gz
postgresql-43e7a668499b8a69a62cc539a0fbe6983384339c.zip
Introduce new page checksum algorithm and module.
Isolate checksum calculation to its own module, so that bufpage knows little if anything about the details of the calculation. This implementation is a modified FNV-1a hash checksum, details of which are given in the new checksum.c header comments. Basic implementation only, so we fix the output value. Later related commits will add version numbers to pg_control, compiler optimization flags and memory barriers. Ants Aasma, reviewed by Jeff Davis and Simon Riggs
Diffstat (limited to 'src/backend/utils/adt/numutils.c')
0 files changed, 0 insertions, 0 deletions