mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Remove COMMIT_TS_SETTS record.
Commit438fc4a39cprevented 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 commit438fc4a39cfixed. 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
This commit is contained in:
@@ -2246,7 +2246,7 @@ RecordTransactionCommitPrepared(TransactionId xid,
|
||||
|
||||
TransactionTreeSetCommitTsData(xid, nchildren, children,
|
||||
replorigin_session_origin_timestamp,
|
||||
replorigin_session_origin, false);
|
||||
replorigin_session_origin);
|
||||
|
||||
/*
|
||||
* We don't currently try to sleep before flush here ... nor is there any
|
||||
|
||||
Reference in New Issue
Block a user