Fix postgresql test on travis