Skip to content

Commit

Permalink
Fixed #22142 -- Documented PostGIS 2 database creation during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky authored and claudep committed Feb 25, 2014
1 parent 91f4a75 commit 65b4626
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/ref/contrib/gis/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------

Expand Down

0 comments on commit 65b4626

Please sign in to comment.