haversine pgsql - try differents implementations