Fix typo in comment of match_orclause_to_indexcol()

Поиск
Список
Период
Сортировка
От Tender Wang
Тема Fix typo in comment of match_orclause_to_indexcol()
Дата
Msg-id CAHewXNmSYWPud1sfBvpKbCJeRkWeZYuqatxtV9U9LvAFXBEiBw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Fix typo in comment of match_orclause_to_indexcol()
Список 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
Вложения

В списке pgsql-hackers по дате отправления: