Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #22142 -- Documented PostGIS 2 database creation during tests

  • Loading branch information...
commit 65b4626528fc133a09ebc8d19fbaa871bdb7e17d 1 parent 91f4a75
@yakky yakky authored claudep committed
Showing with 9 additions and 0 deletions.
  1. +9 −0 docs/ref/contrib/gis/testing.txt
View
9 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
-------
Please sign in to comment.
Something went wrong with that request. Please try again.