X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b1e10bce0d0b0cae4f401305608154c898311755..7c6a88295f8d33688c5a178fd5e6b317b000d91f:/sql/functions.sql?ds=sidebyside 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