this fix needed for loading large osm files, since postgresql is limited to 2^31 - 1 operation per transaction