Fix issue with Postgresql and Travis.