Bug report #6045
postgis: duplicate key when merging polygons
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Data Provider/PostGIS | ||
Affected QGIS version: | 1.8.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 15414 |
Description
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.
Related issues
History
#1 Updated by Paolo Cavallini about 12 years ago
- Target version set to Version 2.0.0
#2 Updated by Julien Lamarche about 12 years ago
- Status changed from Open to Closed
The duplicate #5758 has been resolved.