[Qgis-developer] pg_services on Windows

Jürgen E. Fischer jef at norbit.de
Fri Sep 9 12:37:13 PDT 2016


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                         
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160909/0d00981d/attachment.sig>


More information about the Qgis-developer mailing list