Yedidyah Bar David has uploaded a new change for review. Change subject: packaging: setup: database: extend check empty ......................................................................
packaging: setup: database: extend check empty Also check tables for which the engine db user has no permission. Change-Id: I7de630ba6130aa349c15c1101cf2b041614fa5eb Bug-Url: https://bugzilla.redhat.com/1058013 Signed-off-by: Yedidyah Bar David <d...@redhat.com> --- M packaging/setup/ovirt_engine_setup/database.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/73/25273/1 diff --git a/packaging/setup/ovirt_engine_setup/database.py b/packaging/setup/ovirt_engine_setup/database.py index 155ef6e..ea59fd3 100644 --- a/packaging/setup/ovirt_engine_setup/database.py +++ b/packaging/setup/ovirt_engine_setup/database.py @@ -438,8 +438,8 @@ ret = statement.execute( statement=""" select count(*) as count - from information_schema.tables - where table_schema = 'public'; + from pg_catalog.pg_tables + where schemaname = 'public'; """, args=dict(), host=host, -- To view, visit http://gerrit.ovirt.org/25273 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7de630ba6130aa349c15c1101cf2b041614fa5eb Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Yedidyah Bar David <d...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches