forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd265cd2
committed
Use SetInstallXLogFileSegmentActive() in more places in xlog.c
This reduces the code paths where XLogCtl->InstallXLogFileSegmentActiveis directly touched, and this wrapper function does the same thing asthe original code replaced by the function call.Author: Bharath RupireddyReviewed-by: Nathan BossartDiscussion:https://postgr.es/m/CALj2ACVhkf-bC5CX-=6iBUfkO5GqmBntQH+m=HpY0iQ=-g1pRg@mail.gmail.com1 parent93f2349 commitd265cd2
1 file changed
+2
-6
lines changedLines changed: 2 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4501 | 4501 |
| |
4502 | 4502 |
| |
4503 | 4503 |
| |
4504 |
| - | |
4505 |
| - | |
4506 |
| - | |
| 4504 | + | |
4507 | 4505 |
| |
4508 | 4506 |
| |
4509 | 4507 |
| |
| |||
5368 | 5366 |
| |
5369 | 5367 |
| |
5370 | 5368 |
| |
5371 |
| - | |
5372 |
| - | |
5373 |
| - | |
| 5369 | + | |
5374 | 5370 |
| |
5375 | 5371 |
| |
5376 | 5372 |
| |
|
0 commit comments
Comments
(0)