mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Set sslmode to prefer for postgis connections
git-svn-id: http://svn.osgeo.org/qgis/trunk@8788 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
cd965f4a75
commit
ec26796053
@ -230,6 +230,7 @@ QString QgsDataSourceURI::connInfo() const
|
||||
connInfo += " host=" + mHost;
|
||||
if( mPort!="" )
|
||||
connInfo += " port=" + mPort;
|
||||
connInfo += " sslmode=prefer";
|
||||
}
|
||||
|
||||
if( mUsername != "" )
|
||||
|
Loading…
x
Reference in New Issue
Block a user