Another full qualification of CDB_TransformToWebmercator in CDB_CartodbfyTable

This commit is contained in:
Sandro Santilli 2014-06-06 18:09:41 +02:00
parent d52556c20e
commit f75c256b6e

View File

@ -418,7 +418,7 @@ cname, rec2.typname;
-- do this only if the_geom was found (not created)
-- _and_ the_geom_webmercator was NOT found.
IF exists_geom_cols[1] AND NOT exists_geom_cols[2] THEN
sql := 'UPDATE ' || reloid::text || ' SET the_geom_webmercator = CDB_TransformToWebmercator(the_geom) ';
sql := 'UPDATE ' || reloid::text || ' SET the_geom_webmercator = public.CDB_TransformToWebmercator(the_geom) ';
EXECUTE sql;
END IF;