Re: [Qgis-developer] PG credentials

2016-10-20 Thread Luigi Pirelli
> * if one inserts the credentials at project startup, these seem to be > remembered upon further opening of the project (unsure about other > projects), even after restarting QGIS. There is no cache other that that expressed by Jürgen => cache is removed after closing qgis session. The only way

Re: [Qgis-developer] PG credentials

2016-10-19 Thread Paolo Cavallini
Il 19/10/2016 11:19, DelazJ ha scritto: > No, it isn't. Paolo, could you fill a ticket in the repository, please? Done: https://github.com/qgis/QGIS-Documentation/issues/1458 Thanks. -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS courses: http://www.faunalia.eu/training.html

Re: [Qgis-developer] PG credentials

2016-10-19 Thread DelazJ
Hi, 2016-10-19 8:37 GMT+02:00 Jürgen E. Fischer : > Hi Paolo, > > On Tue, 18. Oct 2016 at 18:19:08 +0200, Paolo Cavallini wrote: > > Thanks Jürgen for the clarification. You mean the OS session, not the > > QGIS one, right? > > No, the QGIS session - since Feb 2010. So nothing

Re: [Qgis-developer] PG credentials

2016-10-19 Thread Jürgen E . Fischer
Hi Paolo, On Tue, 18. Oct 2016 at 18:19:08 +0200, Paolo Cavallini wrote: > Thanks Jürgen for the clarification. You mean the OS session, not the > QGIS one, right? No, the QGIS session - since Feb 2010. So nothing new. > Is this documented in the manual? No idea. Jürgen -- Jürgen E.

Re: [Qgis-developer] PG credentials

2016-10-18 Thread Paolo Cavallini
Il 18/10/2016 18:23, Matthias Kuhn ha scritto: > Something else that is able to cache passwords persistently is the auth > system > > https://docs.qgis.org/2.14/en/docs/user_manual/auth_system/auth_overview.html Yes, but this has to be done explicitly, the base mechanism is transparent (and may

Re: [Qgis-developer] PG credentials

2016-10-18 Thread Matthias Kuhn
Hi Paolo On 10/18/2016 06:19 PM, Paolo Cavallini wrote: > Il 18/10/2016 17:58, Jürgen E. Fischer ha scritto: >> H Paolo, >> >> On Tue, 18. Oct 2016 at 16:44:31 +0200, Paolo Cavallini wrote: >>> thanks for the feedback. The situation is: >>> * a qgs project pointing to PostgreSQL, without username

Re: [Qgis-developer] PG credentials

2016-10-18 Thread Paolo Cavallini
Il 18/10/2016 17:58, Jürgen E. Fischer ha scritto: > H Paolo, > > On Tue, 18. Oct 2016 at 16:44:31 +0200, Paolo Cavallini wrote: >> thanks for the feedback. The situation is: >> * a qgs project pointing to PostgreSQL, without username and password >> * if one inserts the credentials at project

Re: [Qgis-developer] PG credentials

2016-10-18 Thread Jürgen E . Fischer
H Paolo, On Tue, 18. Oct 2016 at 16:44:31 +0200, Paolo Cavallini wrote: > thanks for the feedback. The situation is: > * a qgs project pointing to PostgreSQL, without username and password > * if one inserts the credentials at project startup, these seem to be > remembered upon further opening of

Re: [Qgis-developer] PG credentials

2016-10-18 Thread Paolo Cavallini
Il 18/10/2016 13:54, Neumann, Andreas ha scritto: > Hi Paolo, > > hm - not sure. > > If you have a .pgpass file it may take credentials from the .pgpass file. > > Not sure what you mean "from the system" - you mean the credentials from > the operating system? Yes - this is another fallback

Re: [Qgis-developer] PG credentials

2016-10-18 Thread Neumann, Andreas
Hi Paolo, hm - not sure. If you have a .pgpass file it may take credentials from the .pgpass file. Not sure what you mean "from the system" - you mean the credentials from the operating system? Yes - this is another fallback mechanism - but it depends how you configured your PostgreSQL

[Qgis-developer] PG credentials

2016-10-18 Thread Paolo Cavallini
Hi all, if I open a project without saved credentials for PostgreSQL access, they seem to be taken from the system (the last used credentials). Is this confirmed, and the expected behaviour? All the best, and thanks. -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS courses: