Skip to content
Browse files

Changed the documentation of the postgres test to match the actual be…

  • Loading branch information
SebDieBln committed Nov 15, 2015
1 parent 1b9452b commit ebf132edb88a200e893814c63da9e2f2e1d4c207
Showing with 19 additions and 3 deletions.
  1. +19 −3 tests/
@@ -36,7 +36,23 @@ Advanced configuration

### Postgres

Make sure that you have enabled building of postgres test in CMake.

To test the postgres provider you will need to have a database available to
which the postgres provider can connect. This will need to have postgis support
enabled and be available as a service called `qgis_test` on the machine you run
the tests on.
which the postgres provider can connect. The server will need to have postgis
support enabled.
By default the test uses the following connection options:

If this does not match your setup you can set the environment variable
QGIS_PGTEST_DB to the desired connection string.

Please note that the database needs to be initialized using the sql-script
It takes care of activating postgis for the test database and
creates some tables containing test data.

0 comments on commit ebf132e

Please sign in to comment.
You can’t perform that action at this time.