aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2024-12-24 14:06:16 -0500
committerPeter Geoghegan <pg@bowt.ie>2024-12-24 14:06:16 -0500
commit9b254895c367a3b962bcdd3e35f8590005106e8a (patch)
treec2b7b6cdd0ea58eb082313bbf90ff77ed4d07f83
parentdb6856c9913f1af08b5d7bde442fae362913190a (diff)
downloadpostgresql-9b254895c367a3b962bcdd3e35f8590005106e8a.tar.gz
postgresql-9b254895c367a3b962bcdd3e35f8590005106e8a.zip
Fix nbtree symbol name comment reference.
Oversight in commit 5bf748b86b.
-rw-r--r--src/backend/access/nbtree/nbtsearch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/nbtree/nbtsearch.c b/src/backend/access/nbtree/nbtsearch.c
index 0cd04661366..2f71882b6c0 100644
--- a/src/backend/access/nbtree/nbtsearch.c
+++ b/src/backend/access/nbtree/nbtsearch.c
@@ -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)