Bug report #14208

DBManager don't use pgservice.conf

Added by Yves Jacolin almost 4 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:DB Manager
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:duplicate
Crashes QGIS or corrupts data:No Copied to github as #:22210

Description

  • create a .pg_service.conf file with a new connection
  • add this connection in the postgresql provider
  • check that add a postgis layer can connect to the new database via service configuration => OK
  • open dbmanager and connect to the new database => NOH
Result:
  • a popup ask for credential
  • database name is the default name when user don't give it in the form (ie login)
  • login is the default one when user don't give it in the form (ie username from the system)

Expected result: use of configuration from .pg_service.conf file


Related issues

Duplicates QGIS Application - Bug report #14436: Failure to connect to postgres database defined as servic... Closed 2016-03-07

History

#1 Updated by Alessandro Pasotti over 3 years ago

  • Resolution set to duplicate
  • Status changed from Open to Closed

Also available in: Atom PDF