Ohad Basan has uploaded a new change for review.

Change subject: backend: install uuid-ossp extension on postgres 9.2
......................................................................

backend: install uuid-ossp extension on postgres 9.2

currently, installing the uuid-ossp extension is hardcoded only for
postgresql 9.1
this patch enables installing the extension on version 9.2 also

Bug-URL: https://bugzilla.redhat.com/show_bug.cgi?id=868849

Change-Id: Ia93554647a4fda582a104e42a35d0cf6020cdce7
Signed-off-by: Ohad Basan <oba...@redhat.com>
---
M backend/manager/dbscripts/engine-db-install.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/19/8719/1

diff --git a/backend/manager/dbscripts/engine-db-install.sh 
b/backend/manager/dbscripts/engine-db-install.sh
index 091777c..f262458 100755
--- a/backend/manager/dbscripts/engine-db-install.sh
+++ b/backend/manager/dbscripts/engine-db-install.sh
@@ -368,7 +368,7 @@
         pushd $ENGINE_DB_SCRIPTS_DIR >> $LOGFILE
         source ./dbfunctions.sh
         source ./dbcustomfunctions.sh
-        if [ $(pg_version | egrep "^9.1") ]; then
+        if [[ $(pg_version | egrep "^9.1") || $(pg_version | egrep "^9.2")  
]]; then
             echo "Creating uuid-ossp extension..."
             USERNAME=$DB_ADMIN
             DATABASE=$TEMPLATE


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia93554647a4fda582a104e42a35d0cf6020cdce7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ohad Basan <oba...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to