[Qgis-developer] PG credentials

Paolo Cavallini cavallini at faunalia.it
Tue Oct 18 09:19:08 PDT 2016


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 startup, these seem to be
>> remembered upon further opening of the project (unsure about other
>> projects), even after restarting QGIS.
>> It seems therefore impossible that QGIS takes it from .pgpass.
> 
> Entered passwords are cached for the session - but not stored in the layers.

Thanks Jürgen for the clarification. You mean the OS session, not the
QGIS one, right? Is this documented in the manual?
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the Qgis-developer mailing list