Improve raster selectivity estimator
|Reported by:||strk||Owned by:||pramsey|
As discussed in #1828 the selectivity estimator does noo support functional comparison, but for the raster case functional is the only possible index, and the histogram is already based on that exact same function.
This ticket is to find out if it's possible to check if the function used in the query is the same used to build the index. When that's the case, the estimator should behave exactly as if the query was not functional.