Returns results from a Postgres db