forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit73cce16
committed
Fix bug in WAL replay of COMMIT_TS_SETTS record.
Previously the WAL replay of COMMIT_TS_SETTS record calledTransactionTreeSetCommitTsData() with the argument write_xlog=true,which generated and wrote new COMMIT_TS_SETTS record.This should not be acceptable because it's during recovery.This commit fixes the WAL replay of COMMIT_TS_SETTS recordso that it calls TransactionTreeSetCommitTsData() with write_xlog=falseand doesn't generate new WAL during recovery.Back-patch to all supported branches.Reported-by: lx zou <zoulx1982@163.com>Author: Fujii MasaoReviewed-by: Alvaro HerreraDiscussion:https://postgr.es/m/16931-620d0f2fdc6108f1@postgresql.org1 parentbeac4bd commit73cce16
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1024 | 1024 |
| |
1025 | 1025 |
| |
1026 | 1026 |
| |
1027 |
| - | |
| 1027 | + | |
1028 | 1028 |
| |
1029 | 1029 |
| |
1030 | 1030 |
| |
|
0 commit comments
Comments
(0)