Skip to content
Permalink
Browse files

Applied patch for bug #741

Please test


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7431 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman
gsherman committed Nov 16, 2007
1 parent ef65594 commit 6f184257bd51a4d9163e7aacde13a0237c4f3c4f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/postgres/qgspostgresprovider.cpp
@@ -541,7 +541,7 @@ void QgsPostgresProvider::select(QgsAttributeList fetchAttributes,
{
if( (*it) != primaryKey) //no need to fetch primary key again
{
declare += "," + *it + "::text";
declare += ",\"" + *it + "\"";
}
}

@@ -635,7 +635,7 @@ bool QgsPostgresProvider::getFeatureAtId(int featureId,
{
if( (*namesIt) != primaryKey) //no need to fetch primary key again
{
sql += "," + *namesIt + "::text";
sql += ",\"" + *namesIt + "\"";
}
}

0 comments on commit 6f18425

Please sign in to comment.
You can’t perform that action at this time.