Fully qualify call to CDB_TransformToWebmercator from CDB_CartodbfyTable

This commit is contained in:
Sandro Santilli 2014-06-06 17:28:02 +02:00
parent 85afef40d8
commit d52556c20e
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -16,6 +16,7 @@ Bug fixes:
- Ensure cartodb_id uses an associated sequence (#33)
- Fully qualify call to cdb_disable_ddl_hooks from cdb_enable_ddl_hooks
- Fully qualify call to CDB_UserDataSize from quota trigger
- Fully qualify call to CDB_TransformToWebmercator from CDB_CartodbfyTable
- Fix potential infinite loop in CDB_CartodbfyTable
- Fix potential infinite loop in CDB_QueryStatements

View File

@ -10,7 +10,7 @@
CREATE OR REPLACE FUNCTION _CDB_update_the_geom_webmercator()
RETURNS trigger AS $$
BEGIN
NEW.the_geom_webmercator := CDB_TransformToWebmercator(NEW.the_geom);
NEW.the_geom_webmercator := public.CDB_TransformToWebmercator(NEW.the_geom);
RETURN NEW;
END;
$$ LANGUAGE plpgsql VOLATILE;