Feature request #12526
Improve error message when connecting to a postgres database with no postgis extension
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Jürgen Fischer | ||
Category: | Data Provider/PostGIS | ||
Pull Request or Patch supplied: | No | Resolution: | |
Easy fix?: | No | Copied to github as #: | 20670 |
Description
Hi,
Currently, when trying to connect to a postgres database with no postgis extension installed, QGIS gives an "Connection failed: check settings and try again" message. Makes the user think he got something wrong with the host, port, or user settings... while he just needs to run "CREATE EXTENSION postgis;" to make everything work !
A message saying that the connection was successful but the postgis extension missing would be much more informative.
Thanks !
Olivier
Associated revisions
include pointer to message in connection error message (fixes #12526)
include pointer to message in connection error message (fixes #12526)
(cherry picked from commit 10a51f672fa6b98174e9b94dd932dc08e5d77e71)
History
#1 Updated by Jürgen Fischer over 9 years ago
- Status changed from Open to Closed
Fixed in changeset 10a51f672fa6b98174e9b94dd932dc08e5d77e71.