postgis/extensions
2012-02-10 09:19:33 +00:00
..
postgis #1563: remove raster_columns view from extension so it can be dropped without complaint. 2012-02-09 23:02:52 +00:00
postgis_topology #1564 fix typo in cat call preventing other files from being concatenated 2012-02-10 01:21:59 +00:00
Makefile.in Drop the now-generated Makefile on distclean, and ignore it 2012-02-10 09:19:33 +00:00
postgis_extension_helper.sql put in svn Author Date Id Revision keywords 2012-01-09 20:17:59 +00:00
postgis_extension_helper_uninstall.sql put in svn Author Date Id Revision keywords 2012-01-09 20:17:59 +00:00
README update build extensions to include the make comments if building from source repo and also that it requires a separate compile step (until #1490) 2012-01-21 01:31:52 +00:00
upgradeable_versions.mk Push forward version numbers 2012-02-08 17:36:41 +00:00

These are extension modules for PostgreQL 9.1
to allow postgis modules
to be installed using standard PostgreSQL 9.1+
CREATE EXTENSION syntax

To use: first make install regular PostGIS.  Also make sure to make the comments
if you are building from teh source repository
since the extensions package the postgis function descriptions.
make comments

Makign the comments is not necessary if you are building 
from the tar balls since the tar balls have 
the various postgis_comments.sql, topology_comments.sql, 
and raster_comments.sql already built.

Then:
cd extensions/postgis
make install
cd ..
cd extensions/postgis_topology
make install

These should automatically get installed in share/extension folder of
PostgreSQL 9.1.

Then in your PostgreSQL database run
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;


The dependency logic should warn if you try
to install postgis_topology without postgis
or try to drop postgis without first droping postgis_topology.

You will also not be able to drop any postgis functions installed by the extension.
If you want to manually install the extensions from one server to another
, just copy over the

extensions/postgis: postgis.control, sql/*
extension/postgis_topoloyg postgis_topology.control,sql/* 

files into your PostgreSQL/share/extension folder.