Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve message when role rights are not provided to public schema or the database is not spatially enabled #20482

Open
qgib opened this issue Mar 3, 2015 · 2 comments

Comments

@qgib
Copy link
Contributor

qgib commented Mar 3, 2015

Author Name: Otto Dassau (Otto Dassau)
Original Redmine Issue: 12304

Redmine category:data_provider/postgis


Hi,

I get following error in QGIS, when I try to connect with a NOSUPERUSER user to a postgis database:

ERROR: function postgis_version() does not exist at character 8
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
STATEMENT: SELECT postgis_version()

The problem was, that I didn't grant create/usage rights for the user to the public schema. The same message seems to appear, if the database is not spatially enabled.

It would be helpful to improve the error message.

Regards
Otto

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Sep 8, 2017

Author Name: Jürgen Fischer (@jef-n)


  • assigned_to_id removed Jürgen Fischer

@qgib qgib added Feature Request Data Provider Related to specific vector, raster or mesh data providers labels May 25, 2019
@qgib qgib added this to the Future Release - Nice to have milestone May 25, 2019
@alexbruy alexbruy added PostGIS data provider and removed Data Provider Related to specific vector, raster or mesh data providers labels Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants