On Tue, Oct 11, 2016 at 10:47:50AM +0200, Paolo Cavallini wrote:
> Il 11 ottobre 2016 10:45:18 CEST, Sandro Santilli <s...@kbt.io> ha scritto:

> >Does anyone have an idea about how should QgsField::length be
> >interpreted ?
> Isn't it related to the comma being counted in real fields?

The bug ? Probably. QgsOgrProvider::convertField adds one byte
for the comma while QgsPostgresProvider::convertField does not

But what I'd like to know is whether or not QgsField::length
is supposed to count or not the comma (or what else is meant
to be expressing) for a QVariant::Double and for other types.

Qgis-developer mailing list
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to