Server: Categorize functions

Redis/Service functions declared as STATIC to avoid unneded calls
but it's really questionable if they trully are
This commit is contained in:
Raul Marin
2017-11-07 17:23:05 +01:00
parent 98206a3296
commit ff71a406ae
19 changed files with 88 additions and 88 deletions

View File

@@ -32,7 +32,7 @@ RETURNS Geometry AS $$
raise Exception('Error trying to geocode postal code polygon')
finally:
quota_service.increment_total_service_use()
$$ LANGUAGE plpythonu;
$$ LANGUAGE plpythonu STABLE PARALLEL RESTRICTED;
--------------------------------------------------------------------------------
@@ -63,4 +63,4 @@ RETURNS Geometry AS $$
FROM matches;
RETURN ret;
END
$$ LANGUAGE plpgsql;
$$ LANGUAGE plpgsql STABLE PARALLEL SAFE;