]> granicus.if.org Git - postgis/commitdiff
revert unnecessary edit
authorRegina Obe <lr@pcorp.us>
Fri, 24 Jun 2011 01:28:23 +0000 (01:28 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 24 Jun 2011 01:28:23 +0000 (01:28 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7463 b70326c6-7e19-0410-871a-916f4a2858ee

extras/tiger_geocoder/tiger_2010/normalize/normalize_address.sql

index 3911b06807cab354a89dda4d5c04c4ea0dd75735..35eb7d656cca5aa16e5df7b1fc6ff03de4567b8d 100644 (file)
@@ -369,7 +369,7 @@ BEGIN
       SELECT INTO rec abbrev,
           substring(result.location, '(?i)^(' || name || ')' || ws) as value
           FROM direction_lookup 
-            WHERE replace(result.location,',') ILIKE '%' || replace(name,',') || '%' AND texticregexeq(result.location, '(?i)^'
+            WHERE result.location ILIKE '%' || name || '%' AND texticregexeq(result.location, '(?i)^'
           || name || ws) ORDER BY length(name) desc LIMIT 1;
       IF rec.value IS NOT NULL THEN
         postDir := rec.value;