in db_insert_pdata: check whether the object is also contained in the database BEFORE computing missing properties