[postgis-tickets] r15030 - Mark PostgreSQL 9.2 as minimum supported
Regina Obe
lr at pcorp.us
Sat Jul 30 22:05:50 PDT 2016
Author: robe
Date: 2016-07-30 22:05:50 -0700 (Sat, 30 Jul 2016)
New Revision: 15030
Modified:
trunk/configure.ac
trunk/doc/installation.xml
trunk/doc/postgis.xml
Log:
Mark PostgreSQL 9.2 as minimum supported
closes #3384
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2016-07-31 04:34:16 UTC (rev 15029)
+++ trunk/configure.ac 2016-07-31 05:05:50 UTC (rev 15030)
@@ -439,9 +439,9 @@
PGSQL_SHAREDIR=`$PG_CONFIG --sharedir`
AC_MSG_RESULT([checking PostgreSQL version... $PGSQL_FULL_VERSION])
- dnl Ensure that we are using PostgreSQL >= 9.1
- if test $POSTGIS_PGSQL_VERSION -lt 91; then
- AC_MSG_ERROR([PostGIS requires PostgreSQL >= 9.1])
+ dnl Ensure that we are using PostgreSQL >= 9.2
+ if test $POSTGIS_PGSQL_VERSION -lt 92; then
+ AC_MSG_ERROR([PostGIS requires PostgreSQL >= 9.2])
fi
HAVE_BRIN=no
Modified: trunk/doc/installation.xml
===================================================================
--- trunk/doc/installation.xml 2016-07-31 04:34:16 UTC (rev 15029)
+++ trunk/doc/installation.xml 2016-07-31 05:05:50 UTC (rev 15030)
@@ -42,10 +42,13 @@
psql -d yourdatabase -f postgis.sql
psql -d yourdatabase -f postgis_comments.sql
psql -d yourdatabase -f spatial_ref_sys.sql
+psql -d yourdatabase -f topology.sql
+psql -d yourdatabase -f topology_comments.sql
+
+-- only if you compiled with raster (GDAL)
psql -d yourdatabase -f rtpostgis.sql
psql -d yourdatabase -f raster_comments.sql
-psql -d yourdatabase -f topology.sql
-psql -d yourdatabase -f topology_comments.sql
+
--if you built with sfcgal support --
psql -d yourdatabase -f sfcgal.sql
psql -d yourdatabase -f sfcgal_comments.sql
@@ -1358,11 +1361,46 @@
</sect2>
</sect1>
- <sect1 id="create_new_db">
- <title>Create a spatially-enabled database on PostgreSQL lower than 9.1</title>
+ <sect1 id="create_new_db_extensions">
+ <title>Creating a spatial database using EXTENSIONS</title>
<para>
- The first step in creating a PostGIS database is to create a simple
+ If you are using PostgreSQL 9.1+ and have compiled and installed the extensions/ postgis modules, you
+ can create a spatial database the new way.
+ </para>
+
+ <para>
+ <command>createdb [yourdatabase]</command>
+ </para>
+
+ <para>
+ The core postgis extension installs PostGIS geometry, geography, raster, spatial_ref_sys and all the functions and comments with a simple:
+ <programlisting>CREATE EXTENSION postgis;</programlisting> command.
+ </para>
+
+ <para>
+ <command>psql -d [yourdatabase] -c "CREATE EXTENSION postgis;"</command>
+ </para>
+
+ <para>
+ Topology is packaged as a separate extension and installable with command:
+ </para>
+
+ <para>
+ <command>psql -d [yourdatabase] -c "CREATE EXTENSION postgis_topology;"</command>
+ </para>
+
+ <para>If you plan to restore an old backup from prior versions in this new db, run:</para>
+ <para><command>psql -d [yourdatabase] -f legacy.sql</command></para>
+
+ <para>You can later run <filename>uninstall_legacy.sql</filename> to get rid of the deprecated functions after you are done with restoring and cleanup.</para>
+ </sect1>
+
+ <sect1 id="create_new_db">
+ <title>Create a spatially-enabled database without using extensions</title>
+
+ <note><para>This is generally only needed if you built-PostGIS without raster support. Since raster functions are part of the postgis extension, extension support is not enabled if PostGIS is built without raster.</para></note>
+ <para> The first step in creating a PostGIS database is to create a simple
PostgreSQL database.
</para>
@@ -1455,41 +1493,6 @@
<para>You can later run <filename>uninstall_legacy.sql</filename> to get rid of the deprecated functions after you are done with restoring and cleanup.</para>
</sect1>
- <sect1 id="create_new_db_extensions">
- <title>Creating a spatial database using EXTENSIONS</title>
-
- <para>
- If you are using PostgreSQL 9.1+ and have compiled and installed the extensions/ postgis modules, you
- can create a spatial database the new way.
- </para>
-
- <para>
- <command>createdb [yourdatabase]</command>
- </para>
-
- <para>
- The core postgis extension installs PostGIS geometry, geography, raster, spatial_ref_sys and all the functions and comments with a simple:
- <programlisting>CREATE EXTENSION postgis;</programlisting> command.
- </para>
-
- <para>
- <command>psql -d [yourdatabase] -c "CREATE EXTENSION postgis;"</command>
- </para>
-
- <para>
- Topology is packaged as a separate extension and installable with command:
- </para>
-
- <para>
- <command>psql -d [yourdatabase] -c "CREATE EXTENSION postgis_topology;"</command>
- </para>
-
- <para>If you plan to restore an old backup from prior versions in this new db, run:</para>
- <para><command>psql -d [yourdatabase] -f legacy.sql</command></para>
-
- <para>You can later run <filename>uninstall_legacy.sql</filename> to get rid of the deprecated functions after you are done with restoring and cleanup.</para>
- </sect1>
-
<sect1 id="installing_pagc_address_standardizer"><title>Installing and Using the address standardizer</title>
<para>The <code>address_standardizer</code> extension used to be a separate package that required separate download. From PostGIS 2.2 on, it is now bundled in.
For more information about the address_standardize, what it does, and how to configure it for your needs, refer to <xref linkend="Address_Standardizer" />.</para>
Modified: trunk/doc/postgis.xml
===================================================================
--- trunk/doc/postgis.xml 2016-07-31 04:34:16 UTC (rev 15029)
+++ trunk/doc/postgis.xml 2016-07-31 05:05:50 UTC (rev 15030)
@@ -13,7 +13,7 @@
<!-- Change these values to update the version numbers referenced within the documentation -->
<!ENTITY last_proj_release_version "4.8.0">
<!ENTITY last_geos_release_version "3.4.0">
-<!ENTITY min_postgres_version "9.1">
+<!ENTITY min_postgres_version "9.2">
<!ENTITY introduction SYSTEM "introduction.xml">
<!ENTITY installation SYSTEM "installation.xml">
More information about the postgis-tickets
mailing list