Get rid of a global variable

bootstrap_data_checksum_version can just as easily be passed to where
it is used via function arguments.

Reviewed-by: Andres Freund <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/flat/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/935e675f3c9efd0e39bf33db15ab85049cc4ee7c

Modified Files
--------------
src/backend/access/transam/xlog.c | 12 +++++-------
src/backend/bootstrap/bootstrap.c |  5 ++---
src/include/access/xlog.h         |  2 +-
3 files changed, 8 insertions(+), 11 deletions(-)

Reply via email to