[Qgis-developer] Postgis integer field with null values problem

Bernhard Ströbl bernhard.stroebl at jena.de
Sun Sep 21 23:47:48 PDT 2014


Hi Pedro,

I cannnot comment on your problem but as a workaround when dealing with 
PostgreSQL layers I recommend my :) plugin DataDrivenInputMask [1]

Bernhard

[1] http://plugins.qgis.org/plugins/DataDrivenInputMask/

Am 19.09.2014 16:21, schrieb Pedro Venâncio:
> Hi
>
> When I'm editing PostGIS tables (they are actually related tables) in QGIS, if I leave an 'integer' field of this table as 'null' (blank), QGIS always changes the field value to 0, instead of leaving it as 'null'.
>
> Is this the intended behavior? This causes me a lot of troubles, since I have some triggers associated with these fields, which being filled with 0, make the triggers run, ending the result with no sense.
>
> This happens to me both in QGIS 2.4 and 2.5 master.
>
> Thanks!
>
>
>
> Best regards,
> Pedro Venâncio
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


__________ Information from ESET Mail Security, version of virus signature database 10446 (20140921) __________

The message was checked by ESET Mail Security.
http://www.eset.com




More information about the Qgis-developer mailing list