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 committed Jan 29, 2014
1 parent 6207529 commit 7456eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresconn.cpp
Expand Up @@ -324,7 +324,7 @@ bool QgsPostgresConn::getTableInfo( bool searchGeometryColumnsOnly, bool searchP

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;
QgsPostgresGeometryColumnType columnType = sctGeometry;
Expand Down

0 comments on commit 7456eb7

Please sign in to comment.