aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlog_internal.h
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2011-06-28 22:58:17 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2011-06-28 22:58:17 +0100
commit465883b0a2b4236ba6b31b648a9eabef3b7cdddb (patch)
tree830d1e0365e02b4a9fa897eb1a084b36f342e428 /src/include/access/xlog_internal.h
parent6f3efa76b042cdc457dba5bf8d8257f3ae83fb10 (diff)
downloadpostgresql-465883b0a2b4236ba6b31b648a9eabef3b7cdddb.tar.gz
postgresql-465883b0a2b4236ba6b31b648a9eabef3b7cdddb.zip
Introduce compact WAL record for the common case of commit (non-DDL).
XLOG_XACT_COMMIT_COMPACT leaves out invalidation messages and relfilenodes, saving considerable space for the vast majority of transaction commits. XLOG_XACT_COMMIT keeps same definition as XLOG_PAGE_MAGIC 0xD067 and earlier. Leonardo Francalanci and Simon Riggs
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 34316fffeba..4eaa243948b 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 0xD067 /* can be used as WAL version indicator */
+#define XLOG_PAGE_MAGIC 0xD068 /* can be used as WAL version indicator */
typedef struct XLogPageHeaderData
{