[QGIS Commit] r8788 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Jul 15 15:40:01 EDT 2008


Author: mhugent
Date: 2008-07-15 15:40:00 -0400 (Tue, 15 Jul 2008)
New Revision: 8788

Modified:
   trunk/qgis/src/core/qgsdatasourceuri.cpp
Log:
Set sslmode to prefer for postgis connections

Modified: trunk/qgis/src/core/qgsdatasourceuri.cpp
===================================================================
--- trunk/qgis/src/core/qgsdatasourceuri.cpp	2008-07-15 16:13:38 UTC (rev 8787)
+++ trunk/qgis/src/core/qgsdatasourceuri.cpp	2008-07-15 19:40:00 UTC (rev 8788)
@@ -230,6 +230,7 @@
     connInfo += " host=" + mHost;
     if( mPort!="" )
       connInfo += " port=" + mPort;
+    connInfo += " sslmode=prefer";
   }
 
   if( mUsername != "" )



More information about the QGIS-commit mailing list