Skip to content

Commit

Permalink
Set sslmode to prefer for postgis connections
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8788 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 15, 2008
1 parent 5e55aca commit 1bde1ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsdatasourceuri.cpp
Expand Up @@ -230,6 +230,7 @@ QString QgsDataSourceURI::connInfo() const
connInfo += " host=" + mHost;
if( mPort!="" )
connInfo += " port=" + mPort;
connInfo += " sslmode=prefer";
}

if( mUsername != "" )
Expand Down

0 comments on commit 1bde1ce

Please sign in to comment.