Feature request #17733

Ability to re-read PostGIS table definition

Added by Nikolay Lebedev about 6 years ago.

Status:Open
Priority:Normal
Assignee:Jürgen Fischer
Category:Data Provider/PostGIS
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:25629

Description

In many cases postgis tables are changed outside QGIS (via pgAdmin, psql console etc.).
One common example is when a default value added to a column (i.e. next sequence value).
For QGIS to catch with this changes, you have to re-add table to the project, copy styling from the current version and remove then remove it.
Could've been a lot more convenient to just re-read table definition from DB with a click of a button. A button in Layer properties window would be nice.
Something similar is used in `Update SQL Layer` for layers added from DB Manager queries.

Also available in: Atom PDF