]> granicus.if.org Git - postgis/commitdiff
#2609 topogeo_AddPolygon unnecessary use of DISTINCT
authorRegina Obe <lr@pcorp.us>
Mon, 10 Mar 2014 18:45:52 +0000 (18:45 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 10 Mar 2014 18:45:52 +0000 (18:45 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12316 b70326c6-7e19-0410-871a-916f4a2858ee

topology/sql/populate.sql.in

index def40f729c4dd342ed9e04fe5d989ee782681685..9eae6bb8924a6f80b18e0cb5218d1eecd518f211 100644 (file)
@@ -1025,7 +1025,7 @@ BEGIN
 
   -- 3. Find faces covered by input polygon
   --    NOTE: potential snapping changed polygon edges
-  sql := 'SELECT DISTINCT f.face_id FROM ' || quote_ident(atopology)
+  sql := 'SELECT f.face_id FROM ' || quote_ident(atopology)
     || '.face f WHERE f.mbr && $1';
 #ifdef POSTGIS_TOPOLOGY_DEBUG
   RAISE DEBUG '%', sql;