Re: Accidental assignment instead of compare in GetOperatorFromCompareType? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Accidental assignment instead of compare in GetOperatorFromCompareType?
Date
Msg-id Z8U9lOWSEXT1B5Tt@paquier.xyz
Whole thread Raw
In response to Re: Accidental assignment instead of compare in GetOperatorFromCompareType?  (Jacob Brazeal <jacob.brazeal@gmail.com>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: doc: Mention clock synchronization recommendation for hot_standby_feedback
Next
From: Richard Guo
Date:
Subject: Re: Anti join confusion