mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
PostgreSQL not working in DB Manager (Fix #8191)
This commit is contained in:
parent
a7cae07241
commit
8dc28f2be4
@ -85,7 +85,7 @@ class PostGisDBPlugin(DBPlugin):
|
||||
|
||||
settings.endGroup()
|
||||
|
||||
if service != "":
|
||||
if service:
|
||||
uri.setConnection(service, database, username, password, sslmode)
|
||||
else:
|
||||
uri.setConnection(host, port, database, username, password, sslmode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user