Accidental assignment instead of compare in GetOperatorFromCompareType?
Jacob Brazeal <jacob.brazeal@gmail.com>
From: Jacob Brazeal <jacob.brazeal@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>,
Peter Eisentraut <peter@eisentraut.org>
Date: 2025-03-03T05:05:47Z
Lists: pgsql-hackers
Attachments
- v01_fix_typos.patch (application/octet-stream) patch v1
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
Commits
-
Fix accidental use of = instead of ==
- 3abbd8dbeb8f 18.0 landed
-
Change gist stratnum function to use CompareType
- 630f9a43cece 18.0 cited