Fix typos in e0b1ee17dc
authorAlexander Korotkov <akorotkov@postgresql.org>
Sat, 7 Oct 2023 08:55:17 +0000 (11:55 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Sat, 7 Oct 2023 08:55:55 +0000 (11:55 +0300)
Reported-by: Alexander Lakhin
src/backend/access/nbtree/nbtsearch.c
src/backend/access/nbtree/nbtutils.c

index c47eaed0e98a92c97e75e32e95318c92d547d5b5..288c6915864b3712333fcceb17add28f84472053 100644 (file)
@@ -1665,7 +1665,7 @@ _bt_readpage(IndexScanDesc scan, ScanDirection dir, OffsetNumber offnum)
            /*
             * If the result of prechecking required keys was true, then in
             * assert-enabled builds we also recheck that _bt_checkkeys()
-            * result is is the same.
+            * result is the same.
             */
            Assert(!requiredMatchedByPrecheck ||
                   passes_quals == _bt_checkkeys(scan, itup, indnatts, dir,
index 8e9c892f78ab0d4ceaad31700a4bf5499db25bf1..1510b97fbe1327589779de331209c2f115156c69 100644 (file)
@@ -1415,7 +1415,7 @@ _bt_checkkeys(IndexScanDesc scan, IndexTuple tuple, int tupnatts,
 
        /*
         * Is the key required for scanning for either forward or backward
-        * direction?  If so and called told us that these types of keys are
+        * direction?  If so and caller told us that these types of keys are
         * known to be matched, skip the check.  Except for the row keys,
         * where NULLs could be found in the middle of matching values.
         */