pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: nbtree: Remove useless row compare arg.
Date: Thu, 05 Jun 2025 18:51:02 +0000
Message-ID: <E1uNFg6-000KjP-0M@gemulon.postgresql.org> (raw)

nbtree: Remove useless row compare arg.

Use of a RowCompare key makes nbtree index scans ineligible to use
pstate.forcenonrequired following recent bugfix commit 5f4d98d4.
There's no longer any need for _bt_check_rowcompare to accept a
forcenonrequired argument, so remove it.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/54c6ea8c81db718508eeea50991d3c1c5dff54a5

Modified Files
--------------
src/backend/access/nbtree/nbtutils.c | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)



Message-ID: <E1uNFg6-000KjP-0M@gemulon.postgresql.org>
Permalink:  ../E1uNFg6-000KjP-0M@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uNFg6-000KjP-0M@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: pg@bowt.ie, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: nbtree: Remove useless row compare arg.
  In-Reply-To: <E1uNFg6-000KjP-0M@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