Re: Fully documenting the design of nbtree row comparison scan keys

Peter Geoghegan <pg@bowt.ie>

From: Peter Geoghegan <pg@bowt.ie>
To: Victor Yegorov <vyegorov@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-02T20:29:48Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Document nbtree row comparison design.

  2. Make row compares robust during nbtree array scans.

  3. Fix incorrect handling of NULL index entries in indexed ROW() comparisons.

On Fri, Oct 31, 2025 at 1:40 PM Peter Geoghegan <pg@bowt.ie> wrote:
> On Fri, Oct 31, 2025 at 5:06 AM Victor Yegorov <vyegorov@gmail.com> wrote:
> > I took a look at the patch. Proposed comments look highly valuable, especially around NULLs, doesn't look immediately obvious, so definitely requires a comment.
> > Looks good to commit.
>
> Cool.

Pushed a cleaned up version of the patch just now.

Thanks
-- 
Peter Geoghegan