On Tue, Sep 8, 2026 at 11:45 PM Tom Lane <[email protected]> wrote:
> Ah.  Do you want to just merge those patches and push them as one?
> I think we want HEAD-and-19-only for all these changes.

Yes.  I've merged the clone-dedup fix and your
drop-redundant-equivalence-clauses fix into a single patch (0001
attached), removed the find_clause_by_serial cross-checks, and
un-commented the assertion in get_joinrel_parampathinfo, which now
holds with your fix in place.

I've kept the create_join_clause change as a separate patch (0002),
since it's a distinct issue.  There the trouble is that two
RestrictInfos for the same condition end up with different
rinfo_serials, rather than that we enforce multiple clones of the
same clause.

I plan to push both to HEAD and v19 but no further if there are no
objections.

- Richard

Attachment: v2-0001-Fix-more-duplicate-qual-clauses-in-parameterized-.patch
Description: Binary data

Attachment: v2-0002-Fix-duplicate-enforcement-of-EC-derived-condition.patch
Description: Binary data

Reply via email to