Feature request #12526

Improve error message when connecting to a postgres database with no postgis extension

Added by Olivier Dalang over 9 years ago. Updated over 9 years ago.

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

Revision 10a51f67
Added by Jürgen Fischer over 9 years ago

include pointer to message in connection error message (fixes #12526)

Revision af5b5e7c
Added by Jürgen Fischer over 9 years ago

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

Also available in: Atom PDF