aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlog_internal.h
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-12-04 00:10:47 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-12-04 00:10:47 +0200
commit9e857436ef7dff8fb8a0bf43cfe62650e2be6be9 (patch)
treee365d1848d19c0ff9180d7a1fa05ba978aae486a /src/include/access/xlog_internal.h
parent22122c83f1331d03e8317afbfcfbb65bef9c82d2 (diff)
downloadpostgresql-9e857436ef7dff8fb8a0bf43cfe62650e2be6be9.tar.gz
postgresql-9e857436ef7dff8fb8a0bf43cfe62650e2be6be9.zip
Don't include unused space in LOG_NEWPAGE records.
This is the same trick we use when taking a full page image of a buffer passed to XLogInsert.
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 b6320eee3cf..9fba8c3db86 100644
--- a/src/include/access/xlog_internal.h
+++ b/src/include/access/xlog_internal.h
@@ -55,7 +55,7 @@ typedef struct BkpBlock
/*
* Each page of XLOG file has a header like this:
*/
-#define XLOG_PAGE_MAGIC 0xD077 /* can be used as WAL version indicator */
+#define XLOG_PAGE_MAGIC 0xD078 /* can be used as WAL version indicator */
typedef struct XLogPageHeaderData
{