> That's removed in 1.8. I am thinking about 1.7 fix to update column query (QgsPostgresProvider::getPrimaryKey) to return primary key column first by adding ordering by 'indisprimary' column:
select indkey from pg_index where indisunique and indrelid=regclass('"vranov"."v_budovy"')::oid and indpred is null order by indisprimary desc Can this work ? -- Ivan Mincik _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer