Bug report #1198
Open attribute table hangs when a postGIS layer has pending copy from other layer
|Affected QGIS version:||Regression?:||No|
|Operating System:||Debian||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||worksforme|
|Crashes QGIS or corrupts data:||Copied to github as #:||11258|
How to reproduce:
1- Open PostGIS table, toggle editable.
2- Open shapefile. Select objects on shapefile layer
> Copy. Select postGIS layer
> paste. press button to Open attribute table for the postGIS layer. Memory runs sky high. Swap goes above 6Gb, my internal mem of 4Gb gets flooded..ubuntu hangs.
Can it be that qGIS cannot handle showing a postGIS attribute table with pending copies and goes into a eternal loop?
#1 Updated by milovanderlinden - about 12 years ago
More steps for reproduction:
- If I open the postGIS layer and press the button to open the attribute table, it is there in a split second.
- If I draw a polygon and open the attribute table, split second and I can see the edit with a -2 id.
- If I copy even a single geometry from the underlying shapefile, hang.
This must definitely have something to do with copying an object, not with edit a postGIS layer in general.