forked from hans/Nominatim
This solves a bug with updating large invalid geometries. These geometries have an entry in place but not in placex. Thus, place_insert tries to delete the place entry and reinsert it on update. Deletion would fail because self-intersecting polygons still have an area and large areas are not deleted.