__CDB_FS_Generate_Server_Role_Name: set to STABLE

current_database() is stable, not immutable
This commit is contained in:
Raúl Marín 2019-11-12 18:15:20 +01:00
parent 0d455d9521
commit 9eab5e2533

View File

@ -87,7 +87,7 @@ BEGIN
RETURN role_name::name;
END
$$
LANGUAGE PLPGSQL IMMUTABLE PARALLEL SAFE;
LANGUAGE PLPGSQL STABLE PARALLEL SAFE;
--
-- Creates (if not exist) a schema to place the objects for a remote schema