X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/57ef20cc7ce56a94ae4fa62bd3fd3e13a7e400cf..129c66a34542b76fe6784143e4029c51e09153b9:/sql/functions.sql diff --git a/sql/functions.sql b/sql/functions.sql index a44fee9e..1411f300 100644 --- a/sql/functions.sql +++ b/sql/functions.sql @@ -1108,7 +1108,7 @@ BEGIN -- RETURN NULL; -- END IF; - RETURN NEW; -- The following is not needed until doing diff updates, and slows the main index process down +-- RETURN NEW; -- The following is not needed until doing diff updates, and slows the main index process down IF (ST_GeometryType(NEW.geometry) in ('ST_Polygon','ST_MultiPolygon') AND ST_IsValid(NEW.geometry)) THEN -- Performance: We just can't handle re-indexing for country level changes