Bug report #6610

Field topocol ignored, because of unsupported type c

Added by Sandro Santilli almost 8 years ago. Updated almost 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Data Provider/PostGIS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:15798

Description

topocol is a column of the "TopoGeometry" which contains all nulls.
Note that another "TopoGeometry" field in the same table works just fine.
And another of type "Geometry" also work, still in the same table.

Visually, you get the effect that the "topocol" column in the selector cannot be selected and the "Spatial Type" column is stuck at "Detecting..." message.

Associated revisions

History

#1 Updated by Sandro Santilli almost 8 years ago

Sounds like a missing check for query execution error, in qgspostgresprovider.cpp:1020

#2 Updated by Jürgen Fischer almost 8 years ago

Sandro Santilli wrote:

Sounds like a missing check for query execution error, in qgspostgresprovider.cpp:1020

how should a composite type be represented as feature attribute?

#3 Updated by Sandro Santilli almost 8 years ago

Can you cast it to text ? At least for TopoGeometry it would be perfect

#4 Updated by Jürgen Fischer almost 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF