Fix postgres connection for travis