summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIacopo Spalletti <github@spalletti.it>2014-02-16 11:51:58 +0100
committerClaude Paroz <claude@2xlibre.net>2014-02-25 13:41:50 +0100
commit65b4626528fc133a09ebc8d19fbaa871bdb7e17d (patch)
tree718f08e968b7a7890d16397b02226ee5d733d00b /docs
parent91f4a75a6b83c51aae7318d6aec4e5557ffe42ff (diff)
Fixed #22142 -- Documented PostGIS 2 database creation during tests
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/testing.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/testing.txt b/docs/ref/contrib/gis/testing.txt
index 0e1a98d64d..cdd4314047 100644
--- a/docs/ref/contrib/gis/testing.txt
+++ b/docs/ref/contrib/gis/testing.txt
@@ -92,6 +92,15 @@ Create local PostgreSQL database
3. Start this database ``pg_ctl -D /path/to/user/db start``
+Create a database using PostGIS version 2
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+When testing projects using :ref:`PostGIS 2 <spatialdb_template91>`,
+the test database is created using the ``CREATE EXTENSION postgis``
+instruction, provided that no template ``template_postgis`` (or named
+accordingly to :setting:`POSTGIS_TEMPLATE`) exists in the current
+database.
+
Windows
-------