Skip to content
Permalink
Browse files

Fix from 49e4e99 to ensure that all postgis connection parameters are…

… copied in the QgsPostgresConnection constructor i.e estimatedmetadata.
  • Loading branch information
palmerj authored and jef-n committed Sep 29, 2011
1 parent 743f207 commit a2713fd0ed7129bff1a3390172b2649921ff630b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresconnection.cpp
@@ -102,7 +102,7 @@ QgsPostgresConnection::QgsPostgresConnection( QString theConnName ) :
uri.setConnection( host, port, database, username, password, ( QgsDataSourceURI::SSLmode ) sslmode );
}
uri.setUseEstimatedMetadata( useEstimatedMetadata );
mConnectionInfo = uri.connectionInfo();
mConnectionInfo = uri.uri();

QgsDebugMsg( QString( "Connection info: '%1'." ).arg( mConnectionInfo ) );
}

0 comments on commit a2713fd

Please sign in to comment.
You can’t perform that action at this time.