Skip to content

Commit

Permalink
Applied patch for bug #741
Browse files Browse the repository at this point in the history
Please test


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

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

Expand Down

0 comments on commit dabea3c

Please sign in to comment.