Remove obsolete btrescan() comment.
authorPeter Geoghegan <[email protected]>
Tue, 15 Dec 2020 23:55:07 +0000 (15:55 -0800)
committerPeter Geoghegan <[email protected]>
Tue, 15 Dec 2020 23:55:07 +0000 (15:55 -0800)
"Ordering stuff" refered to a _bt_first() call to _bt_orderkeys().
However, the _bt_orderkeys() function was renamed to
_bt_preprocess_keys() by commit fa5c8a055a0.

_bt_preprocess_keys() is directly referenced just after the removed
comment already, which seems sufficient.

src/backend/access/nbtree/nbtree.c

index c4f22f1c694ff306f3f3071228a00d61b4ac69d0..0abec1079830db599809845d59a51b72867585e1 100644 (file)
@@ -440,8 +440,7 @@ btrescan(IndexScanDesc scan, ScanKey scankey, int nscankeys,
    }
 
    /*
-    * Reset the scan keys. Note that keys ordering stuff moved to _bt_first.
-    * - vadim 05/05/97
+    * Reset the scan keys
     */
    if (scankey && scan->numberOfKeys > 0)
        memmove(scan->keyData,