[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH] Added instructions to enable the psql intarray
From: |
David Decotigny |
Subject: |
[Maposmatic-dev] [PATCH] Added instructions to enable the psql intarray extensions |
Date: |
Mon, 14 Sep 2009 21:33:24 +0200 |
The 'intarray' extension is needed for osm2pgsql to support the osm chage
files (aka. "diffs"). This patch documents how to enable it.
---
INSTALL | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/INSTALL b/INSTALL
index 2c31cde..dbac15c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -53,7 +53,14 @@ distributions, minor adaptations might be needed.
-f /usr/share/postgresql-8.3-postgis/spatial_ref_sys.sql \
-d maposmatic
- d. Change the owner of the new tables to maposmatic
+ d. Add the intarray extension for diff files support (osc)
+
+ sudo -u postgres \
+ psql \
+ -f /usr/share/postgresql/8.3/contrib/_int.sql \
+ -d maposmatic
+
+ e. Change the owner of the new tables to maposmatic
echo "ALTER TABLE geometry_columns OWNER TO maposmatic;
ALTER TABLE spatial_ref_sys OWNER TO maposmatic;" | \
--
1.6.0.4
- [Maposmatic-dev] [PATCH] Added instructions to enable the psql intarray extensions,
David Decotigny <=