<div dir="ltr"><div>Luca, are you using classical edit mode or transaction group option?</div><div>Are users working on the same features ? <br></div><div>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. <br>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. <br></div><div>Concurrent editing is a particularly nasty area, especially when cache is involved :)</div><div>Régis<br></div></div><br><div class="gmail_quote"><div dir="ltr">Le mer. 14 nov. 2018 à 15:16, Luca Manganelli <<a href="mailto:luca.manganelli@comune.trento.it">luca.manganelli@comune.trento.it</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">Il giorno mer 14 nov 2018 alle ore 14:27 Régis Haubourg <<a href="mailto:regis.haubourg@gmail.com" target="_blank">regis.haubourg@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Lucas, <br></div><div>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?</div><div><br></div><div>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. <br></div></div></blockquote><div><br></div><div> 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. <br></div></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>