Skip to content

Commit ec26796

Browse files
author
mhugent
committed
Set sslmode to prefer for postgis connections
git-svn-id: http://svn.osgeo.org/qgis/trunk@8788 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cd965f4 commit ec26796

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/qgsdatasourceuri.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ QString QgsDataSourceURI::connInfo() const
230230
connInfo += " host=" + mHost;
231231
if( mPort!="" )
232232
connInfo += " port=" + mPort;
233+
connInfo += " sslmode=prefer";
233234
}
234235

235236
if( mUsername != "" )

0 commit comments

Comments
 (0)