Skip to content
Permalink
Browse files
postgres provider: don't look for topology layers without topology su…
…pport (fixes #9453)
  • Loading branch information
jef-n authored and Sandro Santilli committed Feb 3, 2014
1 parent b90fb29 commit 673406d271fbc54071c3cc8835fb1279e4ebe719
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresconn.cpp
@@ -307,7 +307,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;

0 comments on commit 673406d

Please sign in to comment.