Skip to content

Commit

Permalink
postgres provider: don't look for topology layers without topology su…
Browse files Browse the repository at this point in the history
…pport (fixes #9453)
  • Loading branch information
jef-n authored and Sandro Santilli committed Feb 3, 2014
1 parent b90fb29 commit 673406d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresconn.cpp
Expand Up @@ -307,7 +307,7 @@ bool QgsPostgresConn::getTableInfo( bool searchGeometryColumnsOnly, bool searchP


mLayersSupported.clear(); mLayersSupported.clear();


for ( int i = 0; i < 3; i++ ) for ( int i = 0; i < (hasTopology() ? 3 : 2); i++ )
{ {
QString sql, tableName, schemaName, columnName, typeName, sridName, gtableName; QString sql, tableName, schemaName, columnName, typeName, sridName, gtableName;
QgsPostgresGeometryColumnType columnType = sctGeometry; QgsPostgresGeometryColumnType columnType = sctGeometry;
Expand Down

0 comments on commit 673406d

Please sign in to comment.