From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Update obsolete nbtree array preprocessing comments. |
Date: | 2024-09-24 16:59:21 |
Message-ID: | E1st8si-000iZG-PU@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Update obsolete nbtree array preprocessing comments.
The array->scan_key references fixed up at the end of preprocessing
start out as offsets into the arrayKeyData[] array (the array returned
by _bt_preprocess_array_keys at the start of preprocessing that involves
array scan keys). Offsets into the arrayKeyData[] array are no longer
guaranteed to be valid offsets into our original scan->keyData[] input
scan key array, but comments describing the array->scan_key references
still talked about scan->keyData[]. Update those comments.
Oversight in commit b5249741.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3da436ec09ae2f1a0167d4b74b30449f0292f581
Modified Files
--------------
src/backend/access/nbtree/nbtutils.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-09-24 17:00:05 | pgsql: Neaten up our choices of SQLSTATEs for XML-related errors. |
Previous Message | Tom Lane | 2024-09-24 16:27:59 | Re: pgsql: Improve default and empty privilege outputs in psql. |