Alon Bar-Lev has uploaded a new change for review.

Change subject: db: functions: remove unused pg_version
......................................................................

db: functions: remove unused pg_version

more than it is unused it checks only for client side libraries version,
which is incorrect.

Change-Id: I5ee352658a00ab7efd935060b002bce96875eda1
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M packaging/dbscripts/dbfunctions.sh
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/79/24879/1

diff --git a/packaging/dbscripts/dbfunctions.sh 
b/packaging/dbscripts/dbfunctions.sh
index b637d53..fd85f3d 100644
--- a/packaging/dbscripts/dbfunctions.sh
+++ b/packaging/dbscripts/dbfunctions.sh
@@ -414,10 +414,6 @@
     fi
 }
 
-pg_version() {
-    echo $(psql --version | head -1 | awk '{print $3}')
-}
-
 # gets the configuration value of the given option name and version.
 # usage: <some variable>=get_config_value <name> <version>
 get_config_value() {


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5ee352658a00ab7efd935060b002bce96875eda1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to