Added security definer permission to the sql part too

This commit is contained in:
Mario de Frutos
2016-02-04 15:42:22 +01:00
parent 6676b26250
commit db715d6d54
2 changed files with 2 additions and 2 deletions

View File

@@ -22,4 +22,4 @@ RETURNS boolean AS $$
# --for this user session but...
GD[cache_key] = geocoder_config
return True
$$ LANGUAGE plpythonu;
$$ LANGUAGE plpythonu SECURITY DEFINER;