Use vagrant to provision postgresql successfully.