[Qgis-developer] pg_services on Windows

Paolo Cavallini cavallini at faunalia.it
Fri Sep 9 07:13:25 PDT 2016


Hi Andreas,

Il 09/09/2016 13:42, Neumann, Andreas ha scritto:

> 1. Try if you can connect in the OSGEO4W shell with your service
> definition. Make sure that the shell sees your environment variable. You
> can connect in the OSGEO shell with:
> 
> psql "service=servicename"

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.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html


More information about the Qgis-developer mailing list