pgsql: Move code around in StartupXLOG(). - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Move code around in StartupXLOG().
Date
Msg-id E1nKF5r-0003aH-3I@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Move code around in StartupXLOG().

This is in preparation for the next commit, which will split off
recovery-related code from xlog.c into a new source file. This is the
order that things will happen with the next commit, and the point of
this commit is to make these ordering changes more explicit, while the
next commit mechanically moves the source code to the new file. To aid
review, I added "BEGIN/END function" comments to mark which blocks of
code are moved to which functions in the next commit. They will be gone
in the next commit.

Reviewed-by: Andres Freund, Kyotaro Horiguchi, Robert Haas
Discussion: https://www.postgresql.org/message-id/a31f27b4-a31d-f976-6217-2b03be646ffa%40iki.fi

Branch
------
master

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

Modified Files
--------------
src/backend/access/transam/xlog.c | 479 ++++++++++++++++++++------------------
1 file changed, 257 insertions(+), 222 deletions(-)


pgsql-committers by date:

Previous
From: Etsuro Fujita
Date:
Subject: pgsql: Doc: Update documentation for modifying postgres_fdw foreign tab
Next
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Split xlog.c into xlog.c and xlogrecovery.c.