From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unused parameter from pgstat_execute_transactional_drops(
Date: Fri, 30 Oct 2026 19:19:54 +0000
Message-ID: <E1xMs8o-00000001RfD-0wZO@gemulon.postgresql.org> (raw)
Remove unused parameter from pgstat_execute_transactional_drops().
This function's is_redo parameter has been unused since it was
introduced in commit 8b1dccd37c. It seems unlikely that we'll ever
need to know whether we're replaying WAL here, and if we do, it's
easy enough to add it back.
Author: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/7B30D9B5-90FA-4184-85E5-60438DBE56CC%40gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5e4966e9d23931e49f914770e663dbc316ed568f
Modified Files
--------------
src/backend/access/transam/twophase.c | 4 ++--
src/backend/access/transam/xact.c | 4 ++--
src/backend/utils/activity/pgstat_xact.c | 2 +-
src/include/pgstat.h | 2 +-
4 files changed, 6 insertions(+), 6 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: nathan@postgresql.org
Subject: Re: pgsql: Remove unused parameter from pgstat_execute_transactional_drops(
In-Reply-To: <E1xMs8o-00000001RfD-0wZO@gemulon.postgresql.org>
References: <E1xMs8o-00000001RfD-0wZO@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