Re: Accidental assignment instead of compare in GetOperatorFromCompareType?

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Jacob Brazeal <jacob(dot)brazeal(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter(at)eisentraut(dot)org>
Subject: Re: Accidental assignment instead of compare in GetOperatorFromCompareType?
Date: 2025-03-03 05:26:44
Message-ID: Z8U9lOWSEXT1B5Tt@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Guo 2025-03-03 07:34:45 Re: Anti join confusion
Previous Message Amit Kapila 2025-03-03 05:26:42 Re: doc: Mention clock synchronization recommendation for hot_standby_feedback