Fix a typo in _bt_readpage

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: akorotkov(at)postgresql(dot)org
Subject: Fix a typo in _bt_readpage
Date: 2023-10-07 11:02:09
Message-ID: CAMbWs4_kHMJDak75y1kBTirv-drS1-knT-7Mpg5LprAjqRJDVA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I just noticed that e8c334c47a fixes typos in e0b1ee17dc. I think there
is an omission in _bt_readpage.

--- a/src/backend/access/nbtree/nbtsearch.c
+++ b/src/backend/access/nbtree/nbtsearch.c
@@ -1784,7 +1784,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,

Thanks
Richard

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Laurenz Albe 2023-10-07 12:29:58 Re: Fix output of zero privileges in psql
Previous Message Richard Guo 2023-10-07 10:29:41 Re: Wrong results with grouping sets