forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd28ab91
committed
Remove dead forceSync parameter of XactLogCommitRecord().
The function has been reading global variable forceSyncCommit, mirroringthe intent of the caller that passed forceSync=forceSyncCommit. Theother caller, RecordTransactionCommitPrepared(), passed false. SinceCOMMIT PREPARED can't share a transaction with any command, it certainlydoesn't share a transaction with a command that sets forceSyncCommit.Reviewed by Michael Paquier.Discussion:https://postgr.es/m/20200617032615.GC2916904@rfd.leadboat.com1 parent74b4d78 commitd28ab91
File tree
3 files changed
+7
-5
lines changed- src
- backend/access/transam
- include/access
3 files changed
+7
-5
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2217 | 2217 |
| |
2218 | 2218 |
| |
2219 | 2219 |
| |
2220 |
| - | |
| 2220 | + | |
2221 | 2221 |
| |
2222 | 2222 |
| |
2223 | 2223 |
| |
|
Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1048 | 1048 |
| |
1049 | 1049 |
| |
1050 | 1050 |
| |
1051 |
| - | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
1052 | 1054 |
| |
1053 | 1055 |
| |
1054 | 1056 |
| |
| |||
1315 | 1317 |
| |
1316 | 1318 |
| |
1317 | 1319 |
| |
1318 |
| - | |
| 1320 | + | |
1319 | 1321 |
| |
1320 | 1322 |
| |
1321 | 1323 |
| |
| |||
5468 | 5470 |
| |
5469 | 5471 |
| |
5470 | 5472 |
| |
5471 |
| - | |
| 5473 | + | |
5472 | 5474 |
| |
5473 | 5475 |
| |
5474 | 5476 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
434 | 434 |
| |
435 | 435 |
| |
436 | 436 |
| |
437 |
| - | |
| 437 | + | |
438 | 438 |
| |
439 | 439 |
| |
440 | 440 |
| |
|
0 commit comments
Comments
(0)