Luca, are you using classical edit mode or transaction group option?
Are users working on the same features ?
QGIS has a local edit buffer and I doubt it is refreshed for features you
modified and did not commit yet, even if you trigger a layer refresh from
the postgreSQL side.
If the other user modified the data in the meantime, there is a postgresql
lock, that you can check looking at pg_stats or pgadmin monitoring tools.
Concurrent editing is a particularly nasty area, especially when cache is
involved :)
Régis

Le mer. 14 nov. 2018 à 15:16, Luca Manganelli <
luca.mangane...@comune.trento.it> a écrit :

> Il giorno mer 14 nov 2018 alle ore 14:27 Régis Haubourg <
> regis.haubo...@gmail.com> ha scritto:
>
>> Hi Lucas,
>> I suspect you are facing postgres transaction inception. you are trying
>> to refresh data from the database when you have an edit session opened? Are
>> you using transaction modes? Are the users modifications done on the same
>> features you are working on?
>>
>> I'm not sure this is your issue, but we know that there are still issues
>> concerning snapping cache when a provider refreshes data in transaction
>> mode, and that locks are just silent in QGIS. A good addition would be to
>> raise locks verbosely through the QgsMessageBar.
>>
>
>  Two users are edting in QGIS simultaneously from the same postgis layer.
> I've tried to refresh, but the data remains in the "old" version (before
> editing), so I cannot move points that are in the new position (the other
> user has edited those points meanwhile)... I am not sure that you have
> understood.
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to