pgsql: Use SetInstallXLogFileSegmentActive() in more places in xlog.c - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Use SetInstallXLogFileSegmentActive() in more places in xlog.c
Date
Msg-id E1oOCYW-0018wh-Ge@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d265cd202961c240a2875826ca47822b54f74db5

Modified Files
--------------
src/backend/access/transam/xlog.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Allow event trigger table_rewrite for ALTER MATERIALIZED VIEW
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: doc: Consistently spell case-insensitive