| From: | Alexander Korotkov <aekorotkov(at)gmail(dot)com> |
|---|---|
| To: | Richard Guo <guofenglinux(at)gmail(dot)com> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, akorotkov(at)postgresql(dot)org |
| Subject: | Re: Fix a typo in _bt_readpage |
| Date: | 2023-10-07 17:38:54 |
| Message-ID: | CAPpHfduziOXq0Mfc4teueane--tghupTG4e8Uq8+MD1Xmc46cw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sat, Oct 7, 2023 at 2:02 PM Richard Guo <guofenglinux(at)gmail(dot)com> wrote:
>
> 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,
Fixed, thanks!
------
Regards,
Alexander Korotkov
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alexander Korotkov | 2023-10-07 17:42:51 | Re: Index range search optimization |
| Previous Message | Tom Lane | 2023-10-07 16:09:06 | Re: Annoying build warnings from latest Apple toolchain |