postgresql testing on travis

related to #6318