Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix from 49e4e998c6 to ensure that all postgis connection parameters are #46

Closed
wants to merge 1 commit into from

1 participant

Jeremy Palmer
Jeremy Palmer

This patch ensures that all PostGIS connection parameters are copied in the QgsPostgresConnection constructor i.e estimatedmetadata.

Jeremy Palmer palmerj Fix from 49e4e99 to ensure that all postgis connection parameters are…
… copied in the QgsPostgresConnection constructor i.e estimatedmetadata.
b0d099b
Jeremy Palmer

committed to master

Jeremy Palmer palmerj closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 22, 2011
  1. Jeremy Palmer

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

    palmerj authored
    … copied in the QgsPostgresConnection constructor i.e estimatedmetadata.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/providers/postgres/qgspostgresconnection.cpp
2  src/providers/postgres/qgspostgresconnection.cpp
View
@@ -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 ) );
}
Something went wrong with that request. Please try again.