postgis: duplicate key when merging polygons
|Assigned to:||-||% Done:||
|Category:||PostGIS Data Provider|
|Target version:||Version 2.0.0|
|Platform version:||Affected version:||1.8.0|
|Status info:||Causes crash or corruption:||No|
When merging features (polygons) in a PostGIS database, when I save changes I get a duplicate key error. I'm copying attributes from one of the merged polygons, including the primary key. It looks like what is happening in the save is that QGIS first adds new features (the merged polygon is counted as new), then deletes old features (the pre-merged pieces). If I save a second time, there is no error because the old pieces have now been deleted.
|duplicates QGIS Application - Bug #5758: Primary key issue when using merge attributes of selected...||Closed||06/07/2012|