Yaniv Dary has uploaded a new change for review.

Change subject: history: changed upgrade file syntex to work with pg 8.4
......................................................................

history: changed upgrade file syntex to work with pg 8.4

Change-Id: Iac6f4188c9f6d0d0a59bc371bee35f8bb6f401af
Signed-off-by: Yaniv Dary <[email protected]>
---
M 
data-warehouse/historydbscripts_postgres/upgrade/03_02_0030_drop_auto_suspend_column.sql
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/77/10677/1

diff --git 
a/data-warehouse/historydbscripts_postgres/upgrade/03_02_0030_drop_auto_suspend_column.sql
 
b/data-warehouse/historydbscripts_postgres/upgrade/03_02_0030_drop_auto_suspend_column.sql
index 2c4c714..4c2b47a 100644
--- 
a/data-warehouse/historydbscripts_postgres/upgrade/03_02_0030_drop_auto_suspend_column.sql
+++ 
b/data-warehouse/historydbscripts_postgres/upgrade/03_02_0030_drop_auto_suspend_column.sql
@@ -1 +1 @@
-ALTER TABLE vm_configuration DROP COLUMN IF EXISTS auto_suspend;
+SELECT fn_db_drop_column('vm_configuration', 'auto_suspend');


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

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

Reply via email to