Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 43a54a3

Browse files
committed
Bump WAL version.
Oversight in commit e6d8069. Since that commit changed the format of XLOG_DBASE_DROP WAL record, XLOG_PAGE_MAGIC needs to be bumped. Spotted by Michael Paquier
1 parent e6d8069 commit 43a54a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/access/xlog_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/*
3232
* Each page of XLOG file has a header like this:
3333
*/
34-
#define XLOG_PAGE_MAGIC 0xD101 /* can be used as WAL version indicator */
34+
#define XLOG_PAGE_MAGIC 0xD102 /* can be used as WAL version indicator */
3535

3636
typedef struct XLogPageHeaderData
3737
{

0 commit comments

Comments
 (0)