[Qgis-developer] editing capabilities problem in the postgres data provider

Salvatore Larosa lrssvtml at gmail.com
Tue Aug 25 03:14:44 PDT 2015


Hi all,

I just noticed that in 2.10 (and developing) version is not possible
to change geometries for the postgres data provider while all work
fine in LTR. The following code returns False in 2.10 and master
version (I get superuser permissions on the database):

>>> vl = iface.activeLayer()
>>> provider = vl.dataProvider()
>>> provider.capabilities() & QgsVectorDataProvider.ChangeGeometries

Anyone confirms?

-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode


More information about the Qgis-developer mailing list