pgsql: Update obsolete nbtree array preprocessing comments. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Update obsolete nbtree array preprocessing comments.
Date
Msg-id E1st8si-000iZG-PU@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: pgsql: Allow meson builds to run test_pg_dump test in installcheck mode
Next
From: Tom Lane
Date:
Subject: pgsql: Neaten up our choices of SQLSTATEs for XML-related errors.