| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Get rid of a global variable |
| Date: | 2024-07-23 08:00:50 |
| Message-ID: | E1sWAS2-000pEB-EA@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)anarazel(dot)de>
Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce(at)eisentraut(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2024-07-23 08:29:12 | pgsql: ldapurl is supported with simple bind |
| Previous Message | Michael Paquier | 2024-07-23 07:55:43 | pgsql: Improve comments in slru.{c,h} about segment name format |