[Qgis-developer] pg_services on Windows
Jeff McKenna
jmckenna at gatewaygeomatics.com
Fri Sep 9 07:50:51 PDT 2016
I have no problems on Windows 10 with QGIS 2.16.2 and configuring
pg_service.conf and setting a System environment variable for
PGSYSCONFDIR (in my case pointing to D:/). I can then connect at the
commandline with 'psgl service=myservicename' and then through a new
PostGIS connection in QGIS, using that service name. I am using PG 9.5.4
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 2016-09-09 11:13 AM, Paolo Cavallini wrote:
>
> I was successful with
> set PGSERVICEFILE=C:\Users\John\Desktop\pg_service.conf
> (with "C:\Users..." it failed).
> Subsequent startup of QGIS however hung out, even after rebooting the
> machine.
>
> Apparently then there is an issue in defining variables within QGIS,
> either not working and/or conflicting with existing ones.
>
> Nice side effect: now QGIS wont' start anymore :(
>
> All the best, and thanks again.
>
More information about the Qgis-developer
mailing list