Skip to content

Commit

Permalink
fix #7160
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 15, 2013
1 parent b630692 commit f22c62a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/postgres/qgspostgresconn.cpp
Expand Up @@ -388,6 +388,7 @@ bool QgsPostgresConn::getTableInfo( bool searchGeometryColumnsOnly, bool searchP
.arg( srid )
.arg( relkind ) );

layerProperty.pkCols.clear();
layerProperty.type = type;
layerProperty.schemaName = schemaName;
layerProperty.tableName = tableName;
Expand All @@ -403,6 +404,7 @@ bool QgsPostgresConn::getTableInfo( bool searchGeometryColumnsOnly, bool searchP
continue;
}
}

layerProperty.srid = srid;
layerProperty.sql = "";

Expand Down

0 comments on commit f22c62a

Please sign in to comment.