When loading topology viewer on a PostGIS-2.0+ database, it includes type and srid typmod in the view layers, avoiding a full scan of the datasets. Fix #9510