Hi Paolo,

On Fri, 09. Sep 2016 at 16:13:25 +0200, Paolo Cavallini wrote:
> I was successful with
> set PGSERVICEFILE=C:\Users\John\Desktop\pg_service.conf
> (with "C:\Users..." it failed).

The default location should be %APPDATA%\postgresql\.pg_service.conf

A good tool to track down stuff like this is:
https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx

There I also see that psql.exe looks for pg_service.conf in C:\OSGeo4W64\etc


Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden             http://www.norbit.de
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode     
                    

Attachment: pgpsEEtf1DcNX.pgp
Description: PGP signature

_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to