How to figure out how long a postgres sql query will take - Theo's Typesafe Cult