pgsql: Get rid of a global variable
pgsql: Get rid of a global variable
От:
Peter Eisentraut <peter@eisentraut.org>
Дата:
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 Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce@eisentraut.org 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(-)