nbtree _bt_set_startikey row compare test coverage

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: nbtree _bt_set_startikey row compare test coverage
Date: 2026-07-20 00:33:14
Message-ID: CAH2-Wz=KjQsD2W2a=b51uH905=0mF6Le4evhWkN2FL1+uRPhUg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

_bt_set_startikey is one notable place where nbtree's test coverage is
lacking. I never added any tests as part of my commit 7d9cd2df, which
added the ability for _bt_readpage to skip over row compare scan keys
when evaluating the scan key against every tuple on the page is
provably unnecessary.

Attached patch adds those tests now.

--
Peter Geoghegan

Attachment Content-Type Size
v1-0001-Add-test-coverage-for-_bt_set_startikey-row-compa.patch application/octet-stream 7.6 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-07-20 01:33:54 Re: nbtree test module Makefile oversight
Previous Message Peter Geoghegan 2026-07-19 23:23:03 nbtree backwards scan test coverage