From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add nbtree amgettuple return item function. |
Date: | 2024-11-13 14:51:14 |
Message-ID: | E1tBEiA-001dZy-1E@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add nbtree amgettuple return item function.
This makes it easier to add precondition assertions. We now assert that
the last call to _bt_readpage succeeded, and that the current item index
is within the bounds of the currPos items array.
Author: Peter Geoghegan <pg(at)bowt(dot)ie>
Reviewed-By: Masahiro Ikeda <ikedamsh(at)oss(dot)nttdata(dot)com>
Discussion: https://postgr.es/m/CAH2-WznFkEs9K1PtNruti5JjawY-dwj+gkaEh_k1ZE+1xLLGkA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4e6e375b0039a2afc5830ec5a161536428767e96
Modified Files
--------------
src/backend/access/nbtree/nbtsearch.c | 66 ++++++++++++++++++-----------------
1 file changed, 34 insertions(+), 32 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2024-11-14 03:27:19 | pgsql: contrib/lo: Add test for function lo_oid() |
Previous Message | Álvaro Herrera | 2024-11-13 10:54:52 | pgsql: Fix pg_upgrade's cross-version tests when old < 18 |