summaryrefslogtreecommitdiffstats
path: root/upgrades/dbpatches/1.4/postgresql/patch/actions.sql
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-06-22 18:12:58 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-06-22 18:12:58 +0000
commit901b9d2bd5c402e45526e151604afd119c6e0ec1 (patch)
tree94de1db7561d6cfe82b41cbc803011a2ab932eb0 /upgrades/dbpatches/1.4/postgresql/patch/actions.sql
parentf4af73c3a3b19f6f850c2eda0717272ca9b24001 (diff)
downloadzabbix-901b9d2bd5c402e45526e151604afd119c6e0ec1.tar.gz
zabbix-901b9d2bd5c402e45526e151604afd119c6e0ec1.tar.xz
zabbix-901b9d2bd5c402e45526e151604afd119c6e0ec1.zip
- fixed PostgreSQL upgrade patch (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@4353 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'upgrades/dbpatches/1.4/postgresql/patch/actions.sql')
-rw-r--r--upgrades/dbpatches/1.4/postgresql/patch/actions.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrades/dbpatches/1.4/postgresql/patch/actions.sql b/upgrades/dbpatches/1.4/postgresql/patch/actions.sql
index 9f45bd08..76aa4f2c 100644
--- a/upgrades/dbpatches/1.4/postgresql/patch/actions.sql
+++ b/upgrades/dbpatches/1.4/postgresql/patch/actions.sql
@@ -5,7 +5,7 @@ CREATE TABLE actions_tmp (
evaltype integer DEFAULT '0' NOT NULL,
status integer DEFAULT '0' NOT NULL,
PRIMARY KEY (actionid)
-);
+) with OIDS;
CREATE TABLE operations (
operationid bigint DEFAULT '0' NOT NULL,
@@ -17,7 +17,7 @@ CREATE TABLE operations (
longdata text DEFAULT '' NOT NULL,
scripts_tmp text DEFAULT '' NOT NULL,
PRIMARY KEY (operationid)
-);
+) with OIDS;
CREATE INDEX operations_1 on operations (actionid);
insert into actions_tmp select actionid,actionid,source,0,status from actions;