summaryrefslogtreecommitdiff
path: root/src/include/access/xlog_internal.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-04-26 20:00:21 -0400
committerRobert Haas <rhaas@postgresql.org>2012-04-26 20:00:21 -0400
commit3424bff90f40532527b9cf4f2ad9eaff750682f7 (patch)
tree028c10eea2a93f672d9462ebb4dcef7097d316ca /src/include/access/xlog_internal.h
parent92df2203437603d40417fe711c3cb7066ac4fdf5 (diff)
downloadpostgresql-3424bff90f40532527b9cf4f2ad9eaff750682f7.tar.gz
Prevent index-only scans from returning wrong answers under Hot Standby.
The alternative of disallowing index-only scans in HS operation was discussed, but the consensus was that it was better to treat marking a page all-visible as a recovery conflict for snapshots that could still fail to see XIDs on that page. We may in the future try to soften this, so that we simply force index scans to do heap fetches in cases where this may be an issue, rather than throwing a hard conflict.
Diffstat (limited to 'src/include/access/xlog_internal.h')
-rw-r--r--src/include/access/xlog_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h
index c079a9aa8f..2020a3b41f 100644
--- a/src/include/access/xlog_internal.h
+++ b/src/include/access/xlog_internal.h
@@ -71,7 +71,7 @@ typedef struct XLogContRecord
/*
* Each page of XLOG file has a header like this:
*/
-#define XLOG_PAGE_MAGIC 0xD070 /* can be used as WAL version indicator */
+#define XLOG_PAGE_MAGIC 0xD071 /* can be used as WAL version indicator */
typedef struct XLogPageHeaderData
{