aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlog_internal.h
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-04-17 16:10:42 -0400
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-04-17 16:10:42 -0400
commitcf5a1890592bfa2f45d306789533efba97496233 (patch)
tree92f978a9d69f0235d83359574767758d96b5f70f /src/include/access/xlog_internal.h
parentb7e2cbc5b49fbab5bc286b9e4cd4062a6703e7a7 (diff)
downloadpostgresql-cf5a1890592bfa2f45d306789533efba97496233.tar.gz
postgresql-cf5a1890592bfa2f45d306789533efba97496233.zip
Fix confusion on the padding of GIDs in on commit and abort records.
Review of commit 1eb6d652: It's pointless to add padding to the GID fields, when the code that follows assumes that there is no alignment, and uses memcpy(). Remove the pointless padding. Update comments to note the new fields in the WAL records. Reviewed-by: Michael Paquier Discussion: https://www.postgresql.org/message-id/33b787bf-dc20-1161-54e9-3f3b607bf59d%40iki.fi
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 a5c074642f6..7c766836dba 100644
--- a/src/include/access/xlog_internal.h
+++ b/src/include/access/xlog_internal.h
@@ -31,7 +31,7 @@
/*
* Each page of XLOG file has a header like this:
*/
-#define XLOG_PAGE_MAGIC 0xD097 /* can be used as WAL version indicator */
+#define XLOG_PAGE_MAGIC 0xD098 /* can be used as WAL version indicator */
typedef struct XLogPageHeaderData
{