Skip to content

Commit

Permalink
Fix from 49e4e99 to ensure that all postgis connection parameters are…
Browse files Browse the repository at this point in the history
… copied in the QgsPostgresConnection constructor i.e estimatedmetadata.
  • Loading branch information
palmerj authored and jef-n committed Sep 29, 2011
1 parent 743f207 commit a2713fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresconnection.cpp
Expand Up @@ -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 ) );
}
Expand Down

0 comments on commit a2713fd

Please sign in to comment.