Hi Haibo,

Attached is v7 with the changes we discussed.

Patch 2 now has an inline comment on the && case explaining the
outer-bounds approximation and its consistency with existing restriction
selectivity. The commit message mentions it as well.

Patch 3 uses a separate backend-private header (rangetypes_selfuncs.h)
instead of selfuncs.h.

Regards,
Maxime

Attachment: v7-0001-Improve-range-join-selectivity-estimation-for.patch
Description: v7-0001-Improve-range-join-selectivity-estimation-for.patch

Attachment: v7-0002-Improve-multirange-join-selectivity-estimation-fo.patch
Description: v7-0002-Improve-multirange-join-selectivity-estimation-fo.patch

Attachment: v7-0003-Remove-duplicate-selectivity-functions-between-ra.patch
Description: v7-0003-Remove-duplicate-selectivity-functions-between-ra.patch

Reply via email to