Skip to content

Commit

Permalink
ovirt-engine-setup database checks: being member of the database owner
Browse files Browse the repository at this point in the history
is also ok

see #841

Signed-off-by: Felix Hamme <felix.hamme@ionos.com>
  • Loading branch information
fhamme committed Apr 24, 2023
1 parent 78bdb2c commit 46f0419
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def _checkDatabaseOwnership(self):
nsp.nspname not in ('information_schema', 'pg_catalog') and
nsp.nspname not like 'pg_%%' and
cls.relname not like 'pg_%%' and
rol.rolname != %(user)s
not pg_catalog.pg_has_role(%(user)s, rol.rolname, 'usage')
order by
nsp.nspname,
cls.relname
Expand Down

0 comments on commit 46f0419

Please sign in to comment.