From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unused PageIsPredicateLocked()
Date: Wed, 28 Oct 2026 08:03:35 +0000
Message-ID: <E1xLydD-00000001639-3XJJ@gemulon.postgresql.org> (raw)
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@tigerdata.com>
Reviewed-by: Matthias van de Meent <boekewurm+postgres@gmail.com>
Reviewed-by: Pierre Forstmann <pierre.forstmann@gmail.com>
Reviewed-by: solai v <solai.cdac@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.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(-)
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: fujii@postgresql.org
Subject: Re: pgsql: Remove unused PageIsPredicateLocked()
In-Reply-To: <E1xLydD-00000001639-3XJJ@gemulon.postgresql.org>
References: <E1xLydD-00000001639-3XJJ@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