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

From Peter Eisentraut
Subject Re: Accidental assignment instead of compare in GetOperatorFromCompareType?
Date
Msg-id 87e82da5-e54c-481d-9b58-9bcfb67a9254@eisentraut.org
Whole thread Raw
In response to Accidental assignment instead of compare in GetOperatorFromCompareType?  (Jacob Brazeal <jacob.brazeal@gmail.com>)
List pgsql-hackers
On 03.03.25 06:05, Jacob Brazeal wrote:
> 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.

Fixed, thanks.




pgsql-hackers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: per backend WAL statistics
Next
From: Michael Paquier
Date:
Subject: Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible