forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit438fc4a
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 parentdf93844 commit438fc4a
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1074 | 1074 |
| |
1075 | 1075 |
| |
1076 | 1076 |
| |
1077 |
| - | |
| 1077 | + | |
1078 | 1078 |
| |
1079 | 1079 |
| |
1080 | 1080 |
| |
|
0 commit comments
Comments
(0)