As described in the Geospatial RFC, we will need to update the cost model of the optimizer to account for the fact that geospatial functions such as ST_Covers are expensive to execute. Currently, the cost model assumes that execution of scalar functions is basically free. We will need to change that assumption for geospatial functions.