Skip to content

Commit 7456eb7

Browse files
committedJan 29, 2014
postgres provider: don't look for topology layers without topology support (fixes #9453)
1 parent 6207529 commit 7456eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/postgres/qgspostgresconn.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ bool QgsPostgresConn::getTableInfo( bool searchGeometryColumnsOnly, bool searchP
324324

325325
mLayersSupported.clear();
326326

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

0 commit comments

Comments
 (0)
Please sign in to comment.