From b68ea11ef5bee9fb98092382760e41bef9ed38b4 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Sun, 15 Jan 2012 03:32:29 +0000 Subject: [PATCH] revise docs about make installing extensions to note that extensions are now installed by default if compiling against 9.1+. Also provide an example query to run to verify extensions are installed. THANKS pramsey -- now if we can only have a real tagged release that would be SWEET. git-svn-id: http://svn.osgeo.org/postgis/trunk@8816 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/installation.xml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/doc/installation.xml b/doc/installation.xml index 3b4bb00cf..1808df235 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -538,23 +538,13 @@ tar -xvzf postgis-&last_release_version;.tar.gz Building PostGIS Extensions and Deploying them - The PostGIS extensions which is usable for PostgreSQL 9.1+, is not yet integrated in the core make install script. - To build the extensions, first build PostGIS as usual using the prior section steps. + The PostGIS extensions which is usable for PostgreSQL 9.1+, should be automatically installed if you are built against + PostgreSQL 9.1+. - - - cd extensions/postgis - make - make install - cd extensions/postgis_topology - make - make install - - - - - If you want to install the extensions manually on a separate server different from your development, - you need to copy the following files from the extensions folder into the PostgreSQL / share / extension folder + The extension files will always be the same for the same version of PostGIS regardless of OS, so it is same as long as you + have the PostGIS binaries already installed on your servers, to copy over the extension files. + If you want to install the extensions manually on a separate server different from your development, + You need to copy the following files from the extensions folder into the PostgreSQL / share / extension folder of your PostgreSQL install as well as the needed binaries for regular PostGIS if you don't have them already on the server. @@ -572,6 +562,14 @@ tar -xvzf postgis-&last_release_version;.tar.gz + Once you do that, you should see postgis, postgis_topology as available extensions in PgAdmin -> extensions. + If you are using psql, you can verify that the extensions are installed by running this query: + SELECT name +FROM pg_available_extensions WHERE name LIKE 'postgis%' ; + name +------------------ + postgis + postgis_topology -- 2.40.0