Commit d265cd2
committed
Use SetInstallXLogFileSegmentActive() in more places in xlog.c
This reduces the code paths where XLogCtl->InstallXLogFileSegmentActive
is directly touched, and this wrapper function does the same thing as
the original code replaced by the function call.
Author: Bharath Rupireddy
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/CALj2ACVhkf-bC5CX-=6iBUfkO5GqmBntQH+m=HpY0iQ=-g1pRg@mail.gmail.com1 parent 93f2349 commit d265cd2
1 file changed
+2
-6
lines changed| 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