Skip to content
Permalink
Browse files

Applied patch for bug #741

Please test


git-svn-id: http://svn.osgeo.org/qgis/trunk@7431 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman
gsherman committed Nov 16, 2007
1 parent 1a9cc04 commit dabea3c697bcbd96319163cdf8738b4bf18e101c
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 dabea3c

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