Eli Mesika has uploaded a new change for review.

Change subject: core: Adding support for postgres 9.2(#869221)
......................................................................

core: Adding support for postgres 9.2(#869221)

For Postgres 9.x we have to install the uuid ossp extension.
Till now, the script was checking for 9.1 Postgres version and therefor
skips installation of this package for other 9.x versions (for example
f18 comes with installed Postgres 9.2)

Changing the script tu install the extension on Postgres 9.x

Change-Id: I03d1490292f33e52f9a5424af3e8b6872481dd4d
Signed-off-by: Eli Mesika <emes...@redhat.com>
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=869221
---
M backend/manager/dbscripts/dbfunctions.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/73/8773/1

diff --git a/backend/manager/dbscripts/dbfunctions.sh 
b/backend/manager/dbscripts/dbfunctions.sh
index 572199a..c13b0a2 100755
--- a/backend/manager/dbscripts/dbfunctions.sh
+++ b/backend/manager/dbscripts/dbfunctions.sh
@@ -350,7 +350,7 @@
 
 check_and_install_uuid_osspa() {
 
-    if [ $(pg_version | egrep "^9.1") ]; then
+    if [ $(pg_version | egrep "^9.") ]; then
         echo "Creating uuid-ossp extension..."
         check_and_install_uuid_osspa_pg9 $1
     else


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

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

Reply via email to