Feature request #16432
Updated by Borys Jurgiel about 6 years ago
Once you load e.g. postgis table into QGIS, there is no way to reload its fields (e.g. after adding a column via psycopg or other concurrent connection), except reloading the whole project of course. The layer.dataProvider().forceReload() assumes the fields structure is constant and only reloads the records.
I noticed it when working with PostGIS, but I suspect it's a provider-independent issue.
I noticed it when working with PostGIS, but I suspect it's a provider-independent issue.