From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Get rid of a global variable
Date: Tue, 23 Jul 2024 08:00:50 +0000
Message-ID: <E1sWAS2-000pEB-EA@gemulon.postgresql.org> (raw)
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
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 instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Get rid of a global variable
In-Reply-To: <E1sWAS2-000pEB-EA@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox