Replace @@plpythonu@@ vars in old_versions

This commit is contained in:
manmorjim
2020-03-09 13:02:26 +01:00
parent 18459fb906
commit 35ff75ea64
131 changed files with 2124 additions and 2117 deletions
@@ -22,7 +22,7 @@ RETURNS boolean AS $$
# --for this user session but...
GD[cache_key] = routing_config
return True
$$ LANGUAGE plpythonu SECURITY DEFINER;
$$ LANGUAGE @@plpythonu@@ SECURITY DEFINER;
CREATE TYPE cdb_dataservices_server.isoline AS (center geometry(Geometry,4326), data_range integer, the_geom geometry(Multipolygon,4326));
@@ -77,7 +77,7 @@ RETURNS SETOF cdb_dataservices_server.isoline AS $$
plpy.error(error_msg)
finally:
quota_service.increment_total_geocoder_use()
$$ LANGUAGE plpythonu SECURITY DEFINER;
$$ LANGUAGE @@plpythonu@@ SECURITY DEFINER;
CREATE OR REPLACE FUNCTION cdb_dataservices_server.cdb_isodistance(username TEXT, orgname TEXT, source geometry(Geometry, 4326), mode TEXT, range integer[], options text[] DEFAULT array[]::text[])
RETURNS SETOF cdb_dataservices_server.isoline AS $$