[Qgis-developer] Lock on PostGIS: how to communicate to user? Plus crash

Paolo Cavallini cavallini at faunalia.it
Sat Apr 18 03:49:40 PDT 2015


Hi all.

AFAIK, concurrency on a PostGIS layer is handled only in a general
manner in QGIS, and concurrent users do not get notification of the
layer being edited (locked) by another user. Am I missing anything?
I believe it would be good implementing a notification system "this
layer is being edited, your changes may be lost; proceed anyway?". Eve
better, the lock should be at record level, so the user would get the
warning only when selecting a record being edited elsewhere.
Anyone interested?

In addition, I tried:
* loaded a pg layer twice
* edited the same object (node tool) in the two layers
* I save the first
* when I save the second, I get a crash.
If anyone confirms, I'll open a bug.

Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html


More information about the Qgis-developer mailing list