Skip to content
Permalink
Browse files
The real fix for ticket #153. Not sure what I was thinking when I did
r5552.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5553 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jun 28, 2006
1 parent 0c74014 commit 129ee08da1e62470ff19a235362ebbce7c6b0360
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -734,7 +734,7 @@ void QgsPostgresProvider::getFeatureAttributes(int key, int &row, QgsFeature *f)
#endif
PGresult *attr = PQexec(connection, (const char *)(sql.utf8()));

for (int i = 0; i < PQntuples(attr); i++) {
for (int i = 0; i < PQnfields(attr); i++) {
QString fld = PQfname(attr, i);
// Dont add the WKT representation of the geometry column to the identify
// results

0 comments on commit 129ee08

Please sign in to comment.