diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-06-17 17:37:30 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-06-17 17:37:30 -0400 |
commit | 71d05a2c7b82379bb1013a0e338906349c54ed85 (patch) | |
tree | 53a862320e1b58955449b7238d6f725cf1d954b4 /src/include/access/xlog_internal.h | |
parent | 54f5c5150fa05d7ad15f8406debd5a2b394885b5 (diff) | |
download | postgresql-71d05a2c7b82379bb1013a0e338906349c54ed85.tar.gz postgresql-71d05a2c7b82379bb1013a0e338906349c54ed85.zip |
pg_visibility: Add pg_truncate_visibility_map function.
This requires some core changes as well so that we can properly
WAL-log the truncation. Specifically, it changes the format of the
XLOG_SMGR_TRUNCATE WAL record, so bump XLOG_PAGE_MAGIC.
Patch by me, reviewed but not fully endorsed by Andres Freund.
Diffstat (limited to 'src/include/access/xlog_internal.h')
-rw-r--r-- | src/include/access/xlog_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h index af2944c1b35..2627519ba08 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 0xD091 /* can be used as WAL version indicator */ +#define XLOG_PAGE_MAGIC 0xD092 /* can be used as WAL version indicator */ typedef struct XLogPageHeaderData { |