Accidental assignment instead of compare in GetOperatorFromCompareType?

Поиск
Список
Период
Сортировка
От Jacob Brazeal
Тема Accidental assignment instead of compare in GetOperatorFromCompareType?
Дата
Msg-id CA+COZaC-JMbhQ4O0Q8V1Bxa0R+Nex_RN9D6UyuLPiEx_CK4Heg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Accidental assignment instead of compare in GetOperatorFromCompareType?
Re: Accidental assignment instead of compare in GetOperatorFromCompareType?
Список pgsql-hackers
Hi all,

It looks like commit 630f9a43cece93cb4a5c243b30e34abce6a89514 omitted an equals sign in an ereport() in GetOperatorFromCompareType, giving the line:

cmptype = COMPARE_EQ ? errmsg("could not identify an equality operator for type %s", format_type_be(opcintype)) :

I think the impact is just that we'd never see the error messages for the COMPARE_OVERLAP and COMPARE_CONTAINED_BY cases logged.

Regards,
Jacob
Вложения

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