1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-03 22:24:49 +03:00

Fix typos in e0b1ee17dc

Reported-by: Alexander Lakhin
This commit is contained in:
Alexander Korotkov 2023-10-07 11:55:17 +03:00
parent ffb69b2311
commit e8c334c47a
2 changed files with 2 additions and 2 deletions

View File

@ -1665,7 +1665,7 @@ _bt_readpage(IndexScanDesc scan, ScanDirection dir, OffsetNumber offnum)
/* /*
* If the result of prechecking required keys was true, then in * If the result of prechecking required keys was true, then in
* assert-enabled builds we also recheck that _bt_checkkeys() * assert-enabled builds we also recheck that _bt_checkkeys()
* result is is the same. * result is the same.
*/ */
Assert(!requiredMatchedByPrecheck || Assert(!requiredMatchedByPrecheck ||
passes_quals == _bt_checkkeys(scan, itup, indnatts, dir, passes_quals == _bt_checkkeys(scan, itup, indnatts, dir,

View File

@ -1415,7 +1415,7 @@ _bt_checkkeys(IndexScanDesc scan, IndexTuple tuple, int tupnatts,
/* /*
* Is the key required for scanning for either forward or backward * 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, * known to be matched, skip the check. Except for the row keys,
* where NULLs could be found in the middle of matching values. * where NULLs could be found in the middle of matching values.
*/ */