postgres.git / summary / log / commit / refs

commit    aa36bd2039272dabcabf486a7d4e05f755778e32
Author:   Simon Riggs <simon@2ndQuadrant.com>
Date:     Fri Mar 19 17:42:10 2010 +0000
First released in: 9.0.0

    Update XLOG_PAGE_MAGIC to recognise WAL format changes.


src/include/access/xlog_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h index 50b73dbec20..0787eb582c0 100644 --- a/src/include/access/xlog_internal.h +++ b/src/include/access/xlog_internal.h @@ -11,7 +11,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/xlog_internal.h,v 1.29 2010/02/26 02:01:21 momjian Exp $ + * $PostgreSQL: pgsql/src/include/access/xlog_internal.h,v 1.30 2010/03/19 17:42:10 sriggs Exp $ */ #ifndef XLOG_INTERNAL_H #define XLOG_INTERNAL_H @@ -71,7 +71,7 @@ typedef struct XLogContRecord /* * Each page of XLOG file has a header like this: */ -#define XLOG_PAGE_MAGIC 0xD166 /* can be used as WAL version indicator */ +#define XLOG_PAGE_MAGIC 0x9002 /* can be used as WAL version indicator */ typedef struct XLogPageHeaderData { [parent: 3cdafe40e73c]