Re: Accidental assignment instead of compare in GetOperatorFromCompareType?
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Jacob Brazeal <jacob.brazeal@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, Peter Eisentraut <peter@eisentraut.org>
Date: 2025-03-03T05:26:44Z
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
Commits
-
Fix accidental use of = instead of ==
- 3abbd8dbeb8f 18.0 landed
-
Change gist stratnum function to use CompareType
- 630f9a43cece 18.0 cited