Re: Inconsistency between try_mergejoin_path and create_mergejoin_plan - Mailing list pgsql-hackers

From Richard Guo
Subject Re: Inconsistency between try_mergejoin_path and create_mergejoin_plan
Date
Msg-id CAMbWs48Z2Sj1Ld3GbNrc+4DnkMMaqSUj=XXqVZDLSYU2oRdnXg@mail.gmail.com
Whole thread Raw
In response to Inconsistency between try_mergejoin_path and create_mergejoin_plan  (Alexander Pyhalov <a.pyhalov@postgrespro.ru>)
List pgsql-hackers
On Tue, Sep 3, 2024 at 5:51 PM Richard Guo <guofenglinux@gmail.com> wrote:
> The new test case fails starting from adf97c156, and we have to
> install a hash opfamily and a hash function for the hacked int8alias1
> type to make the test case work again.
>
> Now, I'm more dubious about whether we really need to add a test case
> for this change.

I pushed this patch with the test case remaining, as it adds only a
minimal number of test cycles.  I explained in the commit message why
the test case is included in equivclass.sql rather than in join.sql.

I did not do backpatch because this bug cannot be reproduced without
installing an incomplete opclass, which is unlikely to happen in
practice.

Thanks for the report and review.

Thanks
Richard



pgsql-hackers by date:

Previous
From: Tender Wang
Date:
Subject: Re: Eager aggregation, take 3
Next
From: Bertrand Drouvot
Date:
Subject: Re: per backend I/O statistics