Fixed postgresql dependency