Remove @@plpythonu@@ vars from old_versions

This commit is contained in:
manmorjim
2020-03-17 09:49:54 +01:00
parent f4df0a5f7c
commit b7c9ff8dac
201 changed files with 2357 additions and 2357 deletions
@@ -63,7 +63,7 @@ RETURNS boolean AS $$
'redis_metrics_connection': redis_metrics_connection,
}
return True
$$ LANGUAGE @@plpythonu@@ SECURITY DEFINER;
$$ LANGUAGE plpythonu SECURITY DEFINER;
-- Get the Redis configuration from the _conf table --
CREATE OR REPLACE FUNCTION cdb_dataservices_server._get_geocoder_config(username text, orgname text)
@@ -89,7 +89,7 @@ RETURNS boolean AS $$
# --for this user session but...
GD[cache_key] = geocoder_config
return True
$$ LANGUAGE @@plpythonu@@ SECURITY DEFINER;
$$ LANGUAGE plpythonu SECURITY DEFINER;
-- Get the Redis configuration from the _conf table --
CREATE OR REPLACE FUNCTION cdb_dataservices_server._get_isolines_routing_config(username text, orgname text)
@@ -115,7 +115,7 @@ RETURNS boolean AS $$
# --for this user session but...
GD[cache_key] = isolines_routing_config
return True
$$ LANGUAGE @@plpythonu@@ SECURITY DEFINER;
$$ LANGUAGE plpythonu SECURITY DEFINER;
-- Get the Redis configuration from the _conf table --
CREATE OR REPLACE FUNCTION cdb_dataservices_server._get_routing_config(username text, orgname text)
@@ -139,7 +139,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 OR REPLACE FUNCTION cdb_dataservices_server._cdb_here_geocode_street_point(username TEXT, orgname TEXT, searchtext TEXT, city TEXT DEFAULT NULL, state_province TEXT DEFAULT NULL, country TEXT DEFAULT NULL)
RETURNS Geometry AS $$
@@ -599,7 +599,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_mapzen_route_point_to_point(
username TEXT,
@@ -648,4 +648,4 @@ RETURNS cdb_dataservices_server.simple_route AS $$
plpy.error(error_msg)
finally:
quota_service.increment_total_geocoder_use()
$$ LANGUAGE @@plpythonu@@ SECURITY DEFINER;
$$ LANGUAGE plpythonu SECURITY DEFINER;