xlog.c: Change assorted functions to take an explicit TimeLineID.
authorRobert Haas <rhaas@postgresql.org>
Mon, 1 Nov 2021 14:44:46 +0000 (10:44 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 1 Nov 2021 16:11:53 +0000 (12:11 -0400)
commite88517e6f5993e340fbfb69aa63081640491b20d
tree4e0fa756e320a72de919f24add75250d2b6ec721
parentb467bc9b9eccd61f4c976abd243d0031a06012c0
xlog.c: Change assorted functions to take an explicit TimeLineID.

It is confusing to have functions whose behavior depends on the
value of a global variable, so where possible, make the caller
pass the timeline as an explicit argument.
src/backend/access/transam/xlog.c
src/include/access/xlog.h