Bug report #9421
Cannot edit PostGIS tables with SRID=0 (multipolygon considered polygon)
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18016|
Multipolygon PostGIS tables with unknown srid (0) appear twice in the "Add PostGIS Layer" dialog, once with a SRID prompt and correct "multipolygon" type, and once with SRID=0 and bogus "polygon" type. Adding the "polygon" type makes it impossible to edit the layer, because on "save" qgis tries to insert "polygon", rather than "multipolygon".
It would be nice to get this fixed in a 2.0.2...