Bug #6045
postgis: duplicate key when merging polygons
| Status: | Closed | Start Date: | 07/15/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | PostGIS Data Provider | |||
| Target version: | Version 2.0.0 | |||
| Platform: | Patch supplied: | No | ||
| Platform version: | Affected version: | 1.8.0 | ||
| Status info: | Causes crash or corruption: | No | ||
| Resolution: |
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
| duplicates Quantum GIS Desktop - Bug #5758: Primary key issue when using merge attributes of selected... | Closed | 06/07/2012 |
History
Updated by Paolo Cavallini 9 months ago
- Target version set to Version 2.0.0
Updated by Julien Lamarche 7 months ago
- Status changed from New to Closed
The duplicate #5758 has been resolved.