From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Get rid of XLogCtlInsert->forcePageWrites
Date: Wed, 19 Oct 2022 10:50:29 +0000
Message-ID: <E1ol6ea-0033QK-UZ@gemulon.postgresql.org> (raw)
Get rid of XLogCtlInsert->forcePageWrites
After commit 39969e2a1e4d, ->forcePageWrites is no longer very
interesting: we can just test whether runningBackups is different from 0.
This simplifies some code, so do away with it.
Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Discussion: https://postgr.es/m/39969e2a1e4d7f5a37f3ef37d53bbfe171e7d77a
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/342bb38bfeb099c5f8aa8f44a7e18f2dc21f1ecd
Modified Files
--------------
src/backend/access/transam/xlog.c | 61 +++++++++++++--------------------
src/backend/access/transam/xloginsert.c | 6 ++--
2 files changed, 27 insertions(+), 40 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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@alvh.no-ip.org
Subject: Re: pgsql: Get rid of XLogCtlInsert->forcePageWrites
In-Reply-To: <E1ol6ea-0033QK-UZ@gemulon.postgresql.org>
References: <E1ol6ea-0033QK-UZ@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