pgsql: Remove unused PageIsPredicateLocked()

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unused PageIsPredicateLocked()
Date: 2026-10-28 08:03:35
Message-ID: E1xLydD-00000001639-3XJJ@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unused PageIsPredicateLocked()

The last caller of PageIsPredicateLocked(), an assertion in B-tree
VACUUM, was removed in commit 47ad79122bc, leaving the function unused.

Remove its implementation, declaration, and entry in the list of
predicate locking interface routines.

Author: Aleksander Alekseev <aleksander(at)tigerdata(dot)com>
Reviewed-by: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>
Reviewed-by: Pierre Forstmann <pierre(dot)forstmann(at)gmail(dot)com>
Reviewed-by: solai v <solai(dot)cdac(at)gmail(dot)com>
Reviewed-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAJ7c6TMCOi-TTfPSWh+wxkOMgqcvoG-FCWPU1iGCfrmA2JOajQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fde4444b48c8dc069db2e29d096dbea45a158cc9

Modified Files
--------------
src/backend/storage/lmgr/predicate.c | 40 ------------------------------------
src/include/storage/predicate.h | 3 ---
2 files changed, 43 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2026-10-28 19:32:44 Re: pgsql: Set HEAP_XMAX_INVALID for tuples updated by aborted subtransacti
Previous Message Michael Paquier 2026-10-28 05:24:17 pgsql: Fix stale pg_index flags in the relcache for TOAST indexes