Skip to content
Permalink
Browse files

Revert changes made to fix #741 since it appears to break more than i…

…t fixes

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7442 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman
gsherman committed Nov 17, 2007
1 parent fd67cd9 commit c58893d4cd0fe9e7db2d6d789386d0fe90df3eca
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 + "\"";
declare += "," + *it + "::text";
}
}

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

0 comments on commit c58893d

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