| From: | Tender Wang <tndrwang(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Fix typo in comment of match_orclause_to_indexcol() |
| Date: | 2025-09-19 10:48:05 |
| Message-ID: | CAHewXNmSYWPud1sfBvpKbCJeRkWeZYuqatxtV9U9LvAFXBEiBw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
While debugging the optimizer codes, I found a typo
in match_orclause_to_indexcol():
/*
* Try to convert a list of OR-clauses to a single SAOP expression. Each
* OR entry must be in the form: (indexkey operator constant) or (constant
* operator indexkey). Operators of all the entries must match. To be
* effective, give up on the first non-matching entry. Exit is
* implemented as a break from the loop, which is catched afterwards.
*/
"catched" should be "caught".
The attached patch fixes it.
--
Thanks,
Tender Wang
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Fix-a-typo-in-the-comment.patch | application/octet-stream | 988 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2025-09-19 10:52:02 | Re: allow benign typedef redefinitions (C11) |
| Previous Message | Mircea Cadariu | 2025-09-19 10:26:46 | Re: [BUG] temporary file usage report with extended protocol and unnamed portals |