pgsql: Remove unused parameter from pgstat_execute_transactional_drops(

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unused parameter from pgstat_execute_transactional_drops(
Date: 2026-10-30 19:19:54
Message-ID: E1xMs8o-00000001RfD-0wZO@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)evan(dot)chao(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2026-10-30 20:33:59 pgsql: tests: Don't use the initdb template for older installations
Previous Message Tom Lane 2026-10-30 18:35:49 pgsql: Update time zone data files to tzdata release 2026f.