Yaniv Dary has uploaded a new change for review.

Change subject: packaging: setup: fix for DB creation in non default locale
......................................................................

packaging: setup: fix for DB creation in non default locale

Change-Id: I016d1503ede16c2128cf8a1905bf420c99a2a4ce
Signed-off-by: Yaniv Dary <yd...@redhat.com>
---
M packaging/common_utils.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/16/19016/1

diff --git a/packaging/common_utils.py b/packaging/common_utils.py
index 92ea269..d804d5f 100755
--- a/packaging/common_utils.py
+++ b/packaging/common_utils.py
@@ -945,7 +945,7 @@
 def createDB(database, owner):
     sql_query_set = [
         (
-            '"CREATE DATABASE {database} owner {owner};"'.format(
+            '"CREATE DATABASE {database} encoding \'UTF8\' LC_COLLATE 
\'en_US.UTF-8\' LC_CTYPE \'en_US.UTF-8\' template template0 owner 
{owner};"'.format(
                 database=database,
                 owner=owner,
             )


-- 
To view, visit http://gerrit.ovirt.org/19016
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I016d1503ede16c2128cf8a1905bf420c99a2a4ce
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-dwh
Gerrit-Branch: master
Gerrit-Owner: Yaniv Dary <yd...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to