MARMOTTA-584: added missing 'IF NOT EXISTS' to the 'CREATE EXTENSION' statement
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/fa5706ff Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/fa5706ff Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/fa5706ff Branch: refs/heads/MARMOTTA-584 Commit: fa5706ff08c2ee70c1639607820af57c221e322f Parents: b76a32c Author: Sergio Fernández <[email protected]> Authored: Fri Sep 11 13:02:01 2015 +0200 Committer: Sergio Fernández <[email protected]> Committed: Fri Sep 11 13:02:01 2015 +0200 ---------------------------------------------------------------------- .../apache/marmotta/kiwi/persistence/pgsql/create_base_tables.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/fa5706ff/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/create_base_tables.sql ---------------------------------------------------------------------- diff --git a/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/create_base_tables.sql b/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/create_base_tables.sql index 9649ca6..a4f951e 100644 --- a/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/create_base_tables.sql +++ b/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/create_base_tables.sql @@ -19,7 +19,7 @@ CREATE TYPE nodetype AS ENUM ('uri','bnode','string','int','double','date','bool --necessary for use geometry queries -CREATE EXTENSION postgis; +CREATE EXTENSION IF NOT EXISTS postgis; -- requires super user privileges:
