Fix nbtree symbol name comment reference.
authorPeter Geoghegan <pg@bowt.ie>
Tue, 24 Dec 2024 19:06:16 +0000 (14:06 -0500)
committerPeter Geoghegan <pg@bowt.ie>
Tue, 24 Dec 2024 19:06:16 +0000 (14:06 -0500)
Oversight in commit 5bf748b86b.

src/backend/access/nbtree/nbtsearch.c

index 0cd04661366688f4e2dd2b14900129c5a33651e4..2f71882b6c0cd250e118194e35cdc5a3bd8b315e 100644 (file)
@@ -2063,8 +2063,8 @@ _bt_steppage(IndexScanDesc scan, ScanDirection dir)
                 * markPos state.  But depending on the current array state like this
                 * would add complexity.  Instead, we just unset markPos's copy of
                 * moreRight or moreLeft (whichever might be affected), while making
-                * btrestpos reset the scan's arrays to their initial scan positions.
-                * In effect, btrestpos leaves advancing the arrays up to the first
+                * btrestrpos reset the scan's arrays to their initial scan positions.
+                * In effect, btrestrpos leaves advancing the arrays up to the first
                 * _bt_readpage call (that takes place after it has restored markPos).
                 */
                if (so->needPrimScan)