Use SetInstallXLogFileSegmentActive() in more places in xlog.c
Michael Paquier <michael@paquier.xyz>
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.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlog.c | modified | +2 −6 |
Discussion
- Use SetInstallXLogFileSegmentActive() for setting XLogCtl->InstallXLogFileSegmentActive 4 messages · 2022-08-11 → 2022-08-17