[Qgis-developer] python function to upgrade qgs datasources?

Jürgen E. Fischer jef at norbit.de
Thu Aug 21 02:05:55 PDT 2014


Hi Régis,

On Thu, 21. Aug 2014 at 01:07:41 -0700, Régis Haubourg wrote:
> It works!
> 
> you saved me again Jürgen! 
> 
> I'm not totally clear yet on how to use procmon for that.. (just another
> tip?)

Download procmon[1], run it and filter for process name qgis(-dev)-bin.exe and
try a connection using a postgresql service.  QGIS (or better put libpq linked
into it) will then look for .pg_service.conf in what seems to be
%APPDATA%\postgresql.

On second thought the unix file ending thing might be due to the fact that we
set the runtime library to binary mode, which libpq might not expect.  Maybe
browser doesn't do that.


Jürgen

[1] http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

-- 
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                         

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list