Get rid of a global variable

Peter Eisentraut <peter@eisentraut.org>

Commit: 935e675f3c9efd0e39bf33db15ab85049cc4ee7c
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-07-23T08:00:41Z
Releases: 18.0
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 <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce@eisentraut.org

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +5 −7
src/backend/bootstrap/bootstrap.c modified +2 −3
src/include/access/xlog.h modified +1 −1

Discussion