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 authored and didib committed May 4, 2023
1 parent 72468d0 commit d37b4f7
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 d37b4f7

Please sign in to comment.