Re: Accidental assignment instead of compare in GetOperatorFromCompareType?

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Jacob Brazeal <jacob(dot)brazeal(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Accidental assignment instead of compare in GetOperatorFromCompareType?
Date: 2025-03-04 08:50:36
Message-ID: 87e82da5-e54c-481d-9b58-9bcfb67a9254@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2025-03-04 08:51:17 Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible
Previous Message Bertrand Drouvot 2025-03-04 08:48:28 Re: per backend WAL statistics