Re: Use merge-based matching for MCVs in eqjoinsel - Mailing list pgsql-hackers

From Ilia Evdokimov
Subject Re: Use merge-based matching for MCVs in eqjoinsel
Date
Msg-id df48dfb7-9cbd-46bb-b76e-dda48e5a567a@tantorlabs.com
Whole thread Raw
In response to Re: Use merge-based matching for MCVs in eqjoinsel  (David Geier <geidav.pg@gmail.com>)
List pgsql-hackers
Hi David,

In v2 patch, when the join is reversed we pass the commutator operator 
Oid to eqjoinsel_semi(), and inside that function we immediately call 
get_opcode(<commutator operator Oid>). Did you mean for the function to 
take an operator Oid instead of an here?

If that was unintentional, perhaps the cleanest fix is to add a new 
'operator' parameter to eqjoinsel_semi() so we can keep passing 
'opfuncoid' as before and avoid changing the behavior.

-- 
Best regards,
Ilia Evdokimov,
Tantor Labs LLC,
https://tantorlabs.com




pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: [Patch] add new parameter to pg_replication_origin_session_setup
Next
From: David Rowley
Date:
Subject: Re: Make TID Scans recalculate the TIDs less often