Fix typo in comment of match_orclause_to_indexcol() - Mailing list pgsql-hackers

From Tender Wang
Subject Fix typo in comment of match_orclause_to_indexcol()
Date
Msg-id CAHewXNmSYWPud1sfBvpKbCJeRkWeZYuqatxtV9U9LvAFXBEiBw@mail.gmail.com
Whole thread Raw
Responses Re: Fix typo in comment of match_orclause_to_indexcol()
List 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

pgsql-hackers by date:

Previous
From: Mircea Cadariu
Date:
Subject: Re: [BUG] temporary file usage report with extended protocol and unnamed portals
Next
From: Álvaro Herrera
Date:
Subject: Re: allow benign typedef redefinitions (C11)