Add postgres earthdist example and better timings