Move code around in StartupXLOG().
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 16 Feb 2022 07:22:44 +0000 (09:22 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 16 Feb 2022 07:22:44 +0000 (09:22 +0200)
commitbe1c00ab13a7c2c9299d60cb5a9d285c40e2506c
tree956e988117557bda4edf5721f316f1a6a1a51548
parentb3a5d01c051b2a6579dc13af93a3dc3bebe8d051
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
src/backend/access/transam/xlog.c