From 465883b0a2b4236ba6b31b648a9eabef3b7cdddb Mon Sep 17 00:00:00 2001 From: Simon Riggs Date: Tue, 28 Jun 2011 22:58:17 +0100 Subject: 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 --- src/include/access/xlog_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/access/xlog_internal.h') diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h index 34316fffeb..4eaa243948 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 { -- cgit v1.2.1