Re: Accidental assignment instead of compare in GetOperatorFromCompareType?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Accidental assignment instead of compare in GetOperatorFromCompareType?
Дата
Msg-id Z8U9lOWSEXT1B5Tt@paquier.xyz
обсуждение исходный текст
Ответ на Re: Accidental assignment instead of compare in GetOperatorFromCompareType?  (Jacob Brazeal <jacob.brazeal@gmail.com>)
Список pgsql-hackers
On Sun, Mar 02, 2025 at 09:06:18PM -0800, Jacob Brazeal wrote:
> Sorry, I attached the wrong patch.
                     errcode(ERRCODE_UNDEFINED_OBJECT),
-                    cmptype = COMPARE_EQ ? errmsg("could not identify an equality operator for type %s",
format_type_be(opcintype)):
 
+                    cmptype == COMPARE_EQ ? errmsg("could not identify an equality operator for type %s",
format_type_be(opcintype)):
 

Yep, you're right.  That's a typo coming from the recent commit
630f9a43cece.
--
Michael

Вложения

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