[QGIS Commit] r11107 - trunk/qgis/src/providers/postgres
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Jul 18 17:26:42 EDT 2009
Author: jef
Date: 2009-07-18 17:26:40 -0400 (Sat, 18 Jul 2009)
New Revision: 11107
Modified:
trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp
Log:
fix #1707
Modified: trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp
===================================================================
--- trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp 2009-07-18 19:03:34 UTC (rev 11106)
+++ trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp 2009-07-18 21:26:40 UTC (rev 11107)
@@ -543,7 +543,7 @@
if ( fld.name() == primaryKey )
{
// primary key was already processed
- feature.addAttribute( *it, QString::number( oid ) );
+ feature.addAttribute( *it, convertValue( fld.type(), QString::number(oid) ) );
continue;
}
More information about the QGIS-commit
mailing list