diff --git a/docs/ref/contrib/gis/testing.txt b/docs/ref/contrib/gis/testing.txt index 0e1a98d64d1..cdd4314047f 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 `, +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 -------