Sorry for disrupting the thread,
i am wondering will it be possible to use BRIN indexes to better estimate distribution?
I mean create btree index and brin index,probe brin during planning and estimate if abort early plan with btree will be better.