Add 'admin' option to create role

This commit is contained in:
Sergey Dudoladov
2018-11-30 17:08:41 +01:00
parent ff5c63ddf1
commit 83ef5ff5b6
5 changed files with 20 additions and 5 deletions
+1
View File
@@ -49,6 +49,7 @@ type PgUser struct {
Flags []string `yaml:"user_flags"`
MemberOf []string `yaml:"inrole"`
Parameters map[string]string `yaml:"db_parameters"`
AdminRole string `yaml:"admin_role"`
}
// PgUserMap maps user names to the definitions.