Client: Add PARALLEL and VOLATILE categories

I'm not 100% sure what's appropiate for plproxy functions so, for now,
I've set them up as VOLATILE and PARALLEL UNSAFE
This commit is contained in:
Raul Marin
2017-11-06 18:09:48 +01:00
parent 90e3229e00
commit b8527514b7
5 changed files with 30 additions and 11 deletions

View File

@@ -34,4 +34,4 @@ BEGIN
result.organization_name = organization_name;
RETURN result;
END;
$$ LANGUAGE 'plpgsql' SECURITY DEFINER;
$$ LANGUAGE 'plpgsql' SECURITY DEFINER STABLE PARALLEL SAFE;