Closed joto closed 3 months ago
The minimum version of PostGIS we test for in the CI is 2.5. So this should also be the minimum supported version. I'd keep the PR as is and leave in the test but test for >=2.5 instead.
I have updated the commit to check for 2.5 instead of 3.
Ordering by geometry was done differently before PostGIS 2.4. This commit removed the old code and adds a check that PostGIS 3 is available.
For this specific case a check for PostGIS 2.4 or above would be sufficient, but PostGIS 3 is available for a long time now (it is in Debian Bullseye ("oldstable", released 2021) and Ubuntu 20.04).