mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Add ALTER ROLE ALL SET command
This generalizes the existing ALTER ROLE ... SET and ALTER DATABASE ... SET functionality to allow creating settings that apply to all users in all databases. reviewed by Pavel Stehule
This commit is contained in:
@ -1010,6 +1010,7 @@ process_settings(Oid databaseid, Oid roleid)
|
||||
ApplySetting(databaseid, roleid, relsetting, PGC_S_DATABASE_USER);
|
||||
ApplySetting(InvalidOid, roleid, relsetting, PGC_S_USER);
|
||||
ApplySetting(databaseid, InvalidOid, relsetting, PGC_S_DATABASE);
|
||||
ApplySetting(InvalidOid, InvalidOid, relsetting, PGC_S_GLOBAL);
|
||||
|
||||
heap_close(relsetting, AccessShareLock);
|
||||
}
|
||||
|
Reference in New Issue
Block a user