Hi Olivier, On Wed, 18. Mar 2015 at 18:40:20 +0100, Olivier Dalang wrote: > Am I doing something wrong ?
Not really - just something that isn't expected. > Or is QGIS using some other way to get back the ID of a new feature ? Any > idea of what that could be ? It retrieves the default values for all attributes (which might be a call to nextval), executes them and uses the result for the insert. So it knows the id before the insert and can update the feature with it. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) Germany IRC: jef on FreeNode
signature.asc
Description: Digital signature
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
