git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: df5efaf) | patch
Remove COMMIT_TS_SETTS record.
2021年4月11日 15:00:18 +0000 (00:00 +0900)
2021年4月11日 15:04:30 +0000 (00:04 +0900)
commit 08aa89b326261b669648df97d4f2a6edba22d26a
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
src/backend/access/rmgrdesc/committsdesc.c diff | blob | blame | history
src/backend/access/transam/commit_ts.c diff | blob | blame | history
src/backend/access/transam/twophase.c diff | blob | blame | history
src/backend/access/transam/xact.c diff | blob | blame | history
src/include/access/commit_ts.h diff | blob | blame | history
src/include/access/xlog_internal.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /