Kaydet (Commit) 65b46265 authored tarafından Iacopo Spalletti's avatar Iacopo Spalletti Kaydeden (comit) Claude Paroz

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

üst 91f4a75a
...@@ -92,6 +92,15 @@ Create local PostgreSQL database ...@@ -92,6 +92,15 @@ Create local PostgreSQL database
3. Start this database ``pg_ctl -D /path/to/user/db start`` 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 Windows
------- -------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment