Fixed postgresql installation