diff options
author | Fujii Masao <fujii@postgresql.org> | 2021-04-12 00:00:18 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2021-04-12 00:04:30 +0900 |
commit | 08aa89b326261b669648df97d4f2a6edba22d26a (patch) | |
tree | 87f43f33fc3aaf2162da331b332dc1a30527c6d4 /src/include/access/xlog_internal.h | |
parent | df5efaf4410f94cc1b69e8ade1d64dc92232ec1d (diff) |
Remove COMMIT_TS_SETTS record.
Commit 438fc4a39c prevented the WAL replay from writing
COMMIT_TS_SETTS record. By this change there is no code that
generates COMMIT_TS_SETTS record in PostgreSQL core.
Also we can think that there are no extensions using the record
because we've not received so far any complaints about the issue
that commit 438fc4a39c fixed. Therefore this commit removes
COMMIT_TS_SETTS record and its related code. Even without
this record, the timestamp required for commit timestamp feature
can be acquired from the COMMIT record.
Bump WAL page magic.
Reported-by: lx zou <zoulx1982@163.com>
Author: Fujii Masao
Reviewed-by: Alvaro Herrera
Discussion: https://postgr.es/m/16931-620d0f2fdc6108f1@postgresql.org
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 da94f2d472a..26a743b6b6c 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 0xD10C /* can be used as WAL version indicator */ +#define XLOG_PAGE_MAGIC 0xD10D /* can be used as WAL version indicator */ typedef struct XLogPageHeaderData { |