]> git.openstreetmap.org Git - nominatim.git/commit
remove ST_Covers check when also testing for ST_Intersects
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 22 Sep 2020 13:51:04 +0000 (15:51 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 24 Sep 2020 09:53:23 +0000 (11:53 +0200)
commit2d226be15670da2ff889387bc1ef1a2df85a0fc7
tree4de13f37976b3e7e0a521a03c6048cda6002fb72
parent61fe274c6e8e296ac1c8ea48650b59b5c07d36d2
remove ST_Covers check when also testing for ST_Intersects

Using both is slightly problematic because they have different
ways to use the index. Newer versions of Postgis exhibit a
query planner issue when both functions appear together.
As ST_Intersects includes ST_Covers, simply remove the latter.
sql/functions/place_triggers.sql
sql/functions/placex_triggers.sql
sql/functions/utils.sql