Fix typo in comment of match_orclause_to_indexcol()
Tender Wang <tndrwang@gmail.com>
From: Tender Wang <tndrwang@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-09-19T10:48:05Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-a-typo-in-the-comment.patch (application/octet-stream)
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