summaryrefslogtreecommitdiffstats
path: root/upgrades/dbpatches/1.4/postgresql/patch/profiles.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/profiles.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/profiles.sql')
-rw-r--r--upgrades/dbpatches/1.4/postgresql/patch/profiles.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrades/dbpatches/1.4/postgresql/patch/profiles.sql b/upgrades/dbpatches/1.4/postgresql/patch/profiles.sql
index f56a5c0f..02a1d2b8 100644
--- a/upgrades/dbpatches/1.4/postgresql/patch/profiles.sql
+++ b/upgrades/dbpatches/1.4/postgresql/patch/profiles.sql
@@ -5,7 +5,7 @@ CREATE TABLE profiles_tmp (
value varchar(255) DEFAULT '' NOT NULL,
valuetype integer DEFAULT 0 NOT NULL,
PRIMARY KEY (profileid)
-);
+) with OIDS;
CREATE UNIQUE INDEX profiles_1 on profiles_tmp (userid,idx);
insert into profiles_tmp select NULL,userid,idx,value,valuetype from profiles;
@@ -19,7 +19,7 @@ CREATE TABLE profiles_tmp (
value varchar(255) DEFAULT '' NOT NULL,
valuetype integer DEFAULT 0 NOT NULL,
PRIMARY KEY (profileid)
-);
+) with OIDS;
CREATE UNIQUE INDEX profiles_1 on profiles_tmp (userid,idx);
insert into profiles_tmp select * from profiles;