]> 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>
Wed, 23 Sep 2020 15:44:31 +0000 (17:44 +0200)
commitd3ca9dd3f78fce550d601a43cab97bbd7a1ef68a
treec35ae07f9cfcfe93434450f2522d15f2cd1c4ba0
parentcf23e10382806ddbdde588f5bb1bc6111590c4e1
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