From: Regina Obe Date: Mon, 10 Mar 2014 18:45:52 +0000 (+0000) Subject: #2609 topogeo_AddPolygon unnecessary use of DISTINCT X-Git-Tag: 2.2.0rc1~1198 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2c79ab3de9980c948a9823651987cb7aa032b76;p=postgis #2609 topogeo_AddPolygon unnecessary use of DISTINCT git-svn-id: http://svn.osgeo.org/postgis/trunk@12316 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/topology/sql/populate.sql.in b/topology/sql/populate.sql.in index def40f729..9eae6bb89 100644 --- a/topology/sql/populate.sql.in +++ b/topology/sql/populate.sql.in @@ -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;