We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent c0156fc commit 54cf972Copy full SHA for 54cf972
src/providers/postgres/qgspostgresprovider.cpp
@@ -128,11 +128,15 @@ QgsPostgresProvider::QgsPostgresProvider( QString const & uri )
128
return;
129
}
130
131
+ // NOTE: mValid would be true after true return from
132
+ // getGeometryDetails, see http://hub.qgis.org/issues/13781
133
+
134
if ( mSpatialColType == sctTopoGeometry )
135
{
136
if ( !getTopoLayerInfo() ) // gets topology name and layer id
137
138
QgsMessageLog::logMessage( tr( "invalid PostgreSQL topology layer" ), tr( "PostGIS" ) );
139
+ mValid = false;
140
disconnectDb();
141
142
0 commit comments