aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/checksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/checksum.h')
-rw-r--r--src/include/storage/checksum.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/storage/checksum.h b/src/include/storage/checksum.h
index 433755e279f..902ec29e2a5 100644
--- a/src/include/storage/checksum.h
+++ b/src/include/storage/checksum.h
@@ -15,6 +15,13 @@
#include "storage/block.h"
+typedef enum ChecksumType
+{
+ DATA_CHECKSUMS_OFF = 0,
+ DATA_CHECKSUMS_ON,
+ DATA_CHECKSUMS_INPROGRESS
+} ChecksumType;
+
/*
* Compute the checksum for a Postgres page. The page must be aligned on a
* 4-byte boundary.