Skip to content
Permalink
Browse files
fix #7160
  • Loading branch information
jef-n committed Feb 15, 2013
1 parent b630692 commit f22c62a891e4bd209d58c97f2d1e0a902dcae487
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/providers/postgres/qgspostgresconn.cpp
@@ -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;
@@ -403,6 +404,7 @@ bool QgsPostgresConn::getTableInfo( bool searchGeometryColumnsOnly, bool searchP
continue;
}
}

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

0 comments on commit f22c62a

Please sign in to comment.