Opened 13 years ago

Last modified 13 years ago

#3769 new enhancement

PostGIS connections: take them from PgAdmin3?

Reported by: pcav Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Data Provider Version:
Keywords: Cc: timlinux
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

It seems interesting to load the connection settings for PostGIS from those in .pgadmin3 (or syncing them both), so the user should not repeat the config twice.

Change History (1)

comment:1 by mayeulk, 13 years ago

A few notes on this interesting idea:

  • If you have 30 databases on 3 local servers (e.g. dev, testing, prod)

and only one of those databases has tables with spatial objects, you do not want to list them all in qgis. So you should be given the choice.

  • In any case this should be optional (you should be able to configure

it manually, and you still need to give a password if you are not using a socket or another method of authentification).

  • This relies on knowing where this pgadmin config file is. I guess it

is in ~/pgadmin3 in most GNU/Linux box.

In qgis developer mailing list, Alessandro F. said:

"WinOz doesn't uses any file to store permanent settings: it uses the System Registry instead. so pgadmin connections are stored under the following registry key:

HKEY_CURRENT_USER/Software/pgAdmin III/Servers "

Note: See TracTickets for help on using tickets.